class ApprovePageRequest extends PageRequest (View source)

Properties

$error from  ConcreteObject
protected $currentWP from  Request
protected $uID from  Request
protected $wrStatusNum
protected $wrID from  Request
private $isScheduled
private $cvPublishDate
private $cvPublishEndDate
private $keepOtherScheduling

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

from  Request
getRequesterComment()

No description

getRequestIconElement()

No description

setRequestedPage($c)

No description

getRequestedPageID()

No description

getRequestedPageVersionID()

No description

setRequestedPageVersionID($cvID)

No description

trigger()

No description

cancel(Progress $wp)

No description

setRequestedVersionID($cvID)

No description

getRequestedVersionID()

No description

isNewPageRequest()

No description

approve(Progress $wp)

No description

scheduleVersion($cvPublishDate, $cvPublishEndDate)

No description

getPublishDate()

No description

getPublishEndDate()

No description

bool
shouldKeepOtherScheduling()

No description

void
setKeepOtherScheduling(bool $keepOtherScheduling)

No description

bool
isScheduled()

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

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

setRequestedPage($c)

No description

Parameters

$c

getRequestedPageID()

No description

getRequestedPageVersionID()

No description

setRequestedPageVersionID($cvID)

No description

Parameters

$cvID

trigger()

No description

cancel(Progress $wp)

No description

Parameters

Progress $wp

setRequestedVersionID($cvID)

No description

Parameters

$cvID

getRequestedVersionID()

No description

protected isNewPageRequest()

No description

approve(Progress $wp)

No description

Parameters

Progress $wp

scheduleVersion($cvPublishDate, $cvPublishEndDate)

No description

Parameters

$cvPublishDate
$cvPublishEndDate

getPublishDate()

No description

getPublishEndDate()

No description

bool shouldKeepOtherScheduling()

No description

Return Value

bool

void setKeepOtherScheduling(bool $keepOtherScheduling)

No description

Parameters

bool $keepOtherScheduling

Return Value

void

bool isScheduled()

No description

Return Value

bool