class ActivateUserRequest 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
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 caneling activate(register activate) request, do nothing

setRequestAction($action)

No description

isActivationRequest()

No description

isRegisterActivationRequest()

No description

isDeactivationRequest()

No description

sendActivationEmail(UserInfo $ui)

No description

string
getRequestActionText()

Gets the translated text of action of user workflow request

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

No description

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

getWorkflowRequestDescriptionObject()

No description

getWorkflowRequestStyleClass()

No description

getWorkflowRequestApproveButtonText()

No description

getWorkflowRequestApproveButtonClass()

No description

getWorkflowRequestApproveButtonInnerButtonRightHTML()

No description

getWorkflowRequestAdditionalActions(Progress $wp)

No description

Parameters

Progress $wp

runTask($task, Progress $wp)

No description

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)

after caneling activate(register activate) request, do nothing

Parameters

Progress $wp

setRequestAction($action)

No description

Parameters

$action

isActivationRequest()

No description

isRegisterActivationRequest()

No description

isDeactivationRequest()

No description

sendActivationEmail(UserInfo $ui)

No description

Parameters

UserInfo $ui

string getRequestActionText()

Gets the translated text of action of user workflow request

Return Value

string