class DeleteUserRequest extends UserRequest (View source)

Properties

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

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

No description

getWorkflowRequestStatusNum()

No description

from Request
getWorkflowRequestID()

No description

from Request
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

runTask($task, Progress $wp)

No description

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)

After canceling delete request, do nothing

string
getRequestActionText()

Gets the translated text of action of user workflow request

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

__construct()

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

addWorkflowProgress(Workflow $wf)

Parameters

Workflow $wf

getWorkflowRequestDescriptionObject()

getWorkflowRequestStyleClass()

getWorkflowRequestApproveButtonText()

getWorkflowRequestApproveButtonClass()

getWorkflowRequestApproveButtonInnerButtonRightHTML()

getWorkflowRequestAdditionalActions(Progress $wp)

Parameters

Progress $wp

runTask($task, Progress $wp)

Parameters

$task
Progress $wp

getRequesterComment()

getRequestIconElement()

setRequestedUserID($requestedUID)

Parameters

$requestedUID

getRequestedUserID()

string getRequestAction()

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

Return Value

string

trigger()

approve(Progress $wp)

Parameters

Progress $wp

cancel(Progress $wp)

After canceling delete request, do nothing

Parameters

Progress $wp

string getRequestActionText()

Gets the translated text of action of user workflow request

Return Value

string