abstract class Workflow extends ConcreteObject implements ObjectInterface (View source)

\@package Workflow

Properties

$error from  ConcreteObject
protected $wfID
protected $allowedTasks
protected $restrictedToPermissionKeyHandles

Methods

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

delete()

No description

static 
getList()

No description

static 
getListByPackage(Package $pkg)

No description

static 
add(Type $wt, $name, Package $pkg = null)

No description

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()

No description

getWorkflowProgressActions(Progress $wp)

No description

updateDetails($vars)

No description

loadDetails()

No description

getPermissionAccessObject()

No description

validateTrigger(Request $req)

No description

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

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).

Parameters

string $format

= 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

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

Parameters

Progress $wp

static getList()

No description

static getListByPackage(Package $pkg)

No description

Parameters

Package $pkg

static add(Type $wt, $name, Package $pkg = null)

No description

Parameters

Type $wt
$name
Package $pkg

protected load($wfID)

No description

Parameters

$wfID

static getByID($wfID)

No description

Parameters

$wfID

static getByName($wfName)

No description

Parameters

$wfName

getWorkflowToolsURL($task)

No description

Parameters

$task

updateName($wfName)

No description

Parameters

$wfName

abstract start(Progress $wp)

No description

Parameters

Progress $wp

abstract canApproveWorkflow()

No description

abstract getWorkflowProgressApprovalUsers(Progress $wp)

No description

Parameters

Progress $wp

abstract getWorkflowProgressActions(Progress $wp)

No description

Parameters

Progress $wp

abstract getWorkflowProgressCurrentComment(Progress $wp)

No description

Parameters

Progress $wp

abstract getWorkflowProgressStatusDescription(Progress $wp)

No description

Parameters

Progress $wp

abstract canApproveWorkflowProgressObject(Progress $wp)

No description

Parameters

Progress $wp

abstract updateDetails($vars)

No description

Parameters

$vars

abstract loadDetails()

No description

getPermissionAccessObject()

No description

validateTrigger(Request $req)

No description

Parameters

Request $req