ModelWorkflows module
Step
A model in the Workflows module, with 17 members for templates, 13 API properties and 19 members for admin templates.
Templates view
Properties 16
Take no arguments.
-
#
isEditingAllowedForUser() -
bool - Determined whether editing of records in this step is allowed for the current user
-
#
getId() -
?int -
#
getName() -
?string -
#
getColor() -
?string -
#
getPosition() -
?int -
#
isEditEveryone() -
bool -
#
getIncomingTransitions() -
?Collection<Transition> -
#
getOutgoingTransitions() -
?Collection<Transition> -
#
getEditGroups() -
?Collection<Group> -
#
getNotificationGroups() -
?Collection<Group> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
Methods 1
Take arguments. The API serialises only getters that need none.
-
#
getAllowedTransitions(RevisionBranch $branch) -
Collection - Get the transitions allowed from this step for the current user
No members match the filter.
API & Jobs view
API & JobsEach property is a key in REST API responses and job payloads. Its name is the template getter without get, is or has. Methods that need arguments are not available here.
Properties 13
Read-only values on the record.
-
#
editingAllowedForUser -
bool - Determined whether editing of records in this step is allowed for the current user
-
#
id -
?int -
#
name -
?string -
#
color -
?string -
#
position -
?int -
#
editEveryone -
bool -
#
incomingTransitions -
?Collection<Transition> -
#
outgoingTransitions -
?Collection<Transition> -
#
editGroups -
?Collection<Group> -
#
notificationGroups -
?Collection<Group>
No members match the filter.
Admin view
AdminAvailable in cdna-admin templates. Copy an admin template into your site repository to change how this record is edited.
Properties 18
Take no arguments.
-
#
isEditingAllowedForUser() -
bool - Determined whether editing of records in this step is allowed for the current user
-
#
getId() -
?int -
#
getName() -
?string -
#
getColor() -
?string -
#
getPosition() -
?int -
#
isEditEveryone() -
bool -
#
getIncomingTransitions() -
?Collection<Transition> -
#
getOutgoingTransitions() -
?Collection<Transition> -
#
getEditGroups() -
?Collection<Group> -
#
getNotificationGroups() -
?Collection<Group> -
#
isHierarchicalModel()Not in API & Jobs -
bool - Check whether a model is a hierarchical model, i.e. can have children
Methods 1
Take arguments. The API serialises only getters that need none.
-
#
getAllowedTransitions(RevisionBranch $branch) -
Collection - Get the transitions allowed from this step for the current user
No members match the filter.