class Request extends ConcreteObject (View source)

Properties

$error from ConcreteObject
protected $currentWP
protected $uID
protected $wrStatusNum
protected $wrID

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

__construct($pk)

No description

getWorkflowRequestStatusNum()

No description

getWorkflowRequestID()

No description

setRequesterUserID($uID)

No description

getRequesterUserID()

No description

getRequesterUserObject()

No description

static 
getByID($wrID)

No description

delete()

No description

save()

No description

optional
triggerRequest(PermissionKey $pk)

Triggers a workflow request, queries a permission key to see what workflows are attached to it and initiates them.

addWorkflowProgress(Workflow $wf)

No description

getWorkflowRequestStyleClass()

No description

runTask($task, Progress $wp)

No description

getRequesterComment()

No description

getRequestIconElement()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

__construct($pk)

Parameters

$pk

getWorkflowRequestStatusNum()

getWorkflowRequestID()

getWorkflowRequestPermissionKeyID()

getWorkflowRequestPermissionKeyObject()

setCurrentWorkflowProgressObject(Progress $wp)

Parameters

Progress $wp

getCurrentWorkflowProgressObject()

setRequesterUserID($uID)

Parameters

$uID

getRequesterUserID()

getRequesterUserObject()

static getByID($wrID)

Parameters

$wrID

delete()

save()

protected optional triggerRequest(PermissionKey $pk)

Triggers a workflow request, queries a permission key to see what workflows are attached to it and initiates them.

Parameters

PermissionKey $pk

Return Value

optional WorkflowProgress

abstract addWorkflowProgress(Workflow $wf)

Parameters

Workflow $wf

abstract getWorkflowRequestDescriptionObject()

abstract getWorkflowRequestStyleClass()

abstract getWorkflowRequestApproveButtonText()

abstract getWorkflowRequestApproveButtonClass()

abstract getWorkflowRequestApproveButtonInnerButtonRightHTML()

getWorkflowRequestAdditionalActions(Progress $wp)

Parameters

Progress $wp

runTask($task, Progress $wp)

Parameters

$task
Progress $wp

getRequesterComment()

abstract getRequestIconElement()