BasicWorkflow
class BasicWorkflow extends Workflow implements AssignableObjectInterface (View source)
Traits
Properties
$error | from ConcreteObject | ||
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
loadError($error)
No description
isError()
No description
getError()
No description
setPropertiesFromArray($arr)
No description
static
camelcase($file)
No description
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
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