BasicWorkflow
class BasicWorkflow extends Workflow implements AssignableObjectInterface (View source)
Traits
Properties
$error | from Object | ||
protected | $wfID | from Workflow | |
protected | $allowedTasks | from Workflow | |
protected | $restrictedToPermissionKeyHandles | from Workflow |
Methods
Returns the display name for this workflow (localized and escaped accordingly to $format).
No description
No description
Returns true if the logged-in user can approve the current workflow.
No description
No description
No description
No description
No description
No description
No description
Details
in
Object at line 10
loadError($error)
No description
in
Object at line 15
isError()
No description
in
Object at line 25
getError()
No description
in
Object at line 30
setPropertiesFromArray($arr)
No description
in
Object at line 37
static
camelcase($file)
No description
in
Object at line 42
static
uncamelcase($string)
No description
getAllowedTasks()
No description
getWorkflowID()
No description
getWorkflowName()
No description
string
getWorkflowDisplayName(string $format = 'html')
Returns the display name for this workflow (localized and escaped accordingly to $format).
getWorkflowTypeObject()
No description
getRestrictedToPermissionKeyHandles()
No description
getPermissionResponseClassName()
No description
getPermissionAssignmentClassName()
No description
getPermissionObjectKeyCategoryHandle()
No description
getPermissionObjectIdentifier()
No description
delete()
No description
getWorkflowProgressCurrentStatusNum(Progress $wp)
No description
static
getList()
No description
static
getListByPackage(Package $pkg)
No description
protected
load($wfID)
No description
static
getByID($wfID)
No description
static
getByName($wfName)
No description
getWorkflowToolsURL($task)
No description
updateName($wfName)
No description
start(Progress $wp)
No description
canApproveWorkflow()
Returns true if the logged-in user can approve the current workflow.
getWorkflowProgressApprovalUsers(Progress $wp)
No description
getWorkflowProgressActions(Progress $wp)
No description
getWorkflowProgressCurrentDescription(Progress $wp)
No description
getWorkflowProgressCurrentComment(Progress $wp)
No description
getWorkflowProgressStatusDescription(Progress $wp)
No description
canApproveWorkflowProgressObject(Progress $wp)
No description
updateDetails($post)
No description
loadDetails()
No description
getPermissionAccessObject()
No description
validateTrigger(Request $req)
No description
assignPermissions($userOrGroup, $permissions = [], $accessType = Key::ACCESS_TYPE_INCLUDE, $cascadeToChildren = true)
No description
executeBeforePermissionAssignment($cascadeToChildren = true)
No description
setChildPermissionsToOverride()
No description
setPermissionsToOverride()
No description
protected
notify(Progress $wp, $message, $permission = 'notify_on_basic_workflow_entry', $parameters = [])
No description
cancel(Progress $wp)
No description
approve(Progress $wp)
No description
private
getTranslatedMessage($message = null, $date)
No description