abstract class UserRequest extends Request (View source)

Properties

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

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

from  Request
getWorkflowRequestStatusNum()

No description

from  Request
getWorkflowRequestID()

No description

from  Request
setRequesterUserID($uID)

No description

from  Request
getRequesterUserID()

No description

from  Request
getRequesterUserObject()

No description

from  Request
static 
getByID($wrID)

No description

from  Request
delete()

No description

from  Request
save()

No description

from  Request
optional
triggerRequest(PermissionKey $pk)

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

from  Request
addWorkflowProgress(Workflow $wf)

No description

getWorkflowRequestStyleClass()

No description

from  Request
runTask($task, Progress $wp)

Override the runTask method in order to launch the cancel function correctly (to trigger user deletion for instance)

getRequesterComment()

No description

from  Request
getRequestIconElement()

No description

setRequestedUserID($requestedUID)

No description

getRequestedUserID()

No description

string
getRequestAction()

Gets the action of user workflow request. There are four actions: activate, register_activate, deactivate and delete

trigger()

No description

approve(Progress $wp)

No description

cancel(Progress $wp)

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

__construct($pk)

No description

Parameters

$pk

getWorkflowRequestStatusNum()

No description

getWorkflowRequestID()

No description

getWorkflowRequestPermissionKeyID()

No description

getWorkflowRequestPermissionKeyObject()

No description

setCurrentWorkflowProgressObject(Progress $wp)

No description

Parameters

Progress $wp

getCurrentWorkflowProgressObject()

No description

setRequesterUserID($uID)

No description

Parameters

$uID

getRequesterUserID()

No description

getRequesterUserObject()

No description

static getByID($wrID)

No description

Parameters

$wrID

delete()

No description

save()

No description

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

addWorkflowProgress(Workflow $wf)

No description

Parameters

Workflow $wf

abstract getWorkflowRequestDescriptionObject()

No description

abstract getWorkflowRequestStyleClass()

No description

abstract getWorkflowRequestApproveButtonText()

No description

abstract getWorkflowRequestApproveButtonClass()

No description

abstract getWorkflowRequestApproveButtonInnerButtonRightHTML()

No description

getWorkflowRequestAdditionalActions(Progress $wp)

No description

Parameters

Progress $wp

runTask($task, Progress $wp)

Override the runTask method in order to launch the cancel function correctly (to trigger user deletion for instance)

Parameters

$task
Progress $wp

getRequesterComment()

No description

getRequestIconElement()

No description

setRequestedUserID($requestedUID)

No description

Parameters

$requestedUID

getRequestedUserID()

No description

string getRequestAction()

Gets the action of user workflow request. There are four actions: activate, register_activate, deactivate and delete

Return Value

string

trigger()

No description

approve(Progress $wp)

No description

Parameters

Progress $wp

cancel(Progress $wp)

No description

Parameters

Progress $wp