Class

eZApproveType

class eZApproveType extends eZWorkflowEventType

Constants

STATUS_NONE

STATUS_ACCEPTED

STATUS_REJECTED

STATUS_DEFERRED_TO_CRON

STATUS_DEFERRED_TO_CRON_REPEAT

STATUS_RUN_SUB_EVENT

STATUS_WORKFLOW_CANCELLED

STATUS_FETCH_TEMPLATE

STATUS_FETCH_TEMPLATE_REPEAT

STATUS_REDIRECT

STATUS_WORKFLOW_DONE

STATUS_REDIRECT_REPEAT

STATUS_WORKFLOW_RESET

WORKFLOW_TYPE_STRING

COLLABORATION_NOT_CREATED

COLLABORATION_CREATED

VERSION_OPTION_FIRST_ONLY

VERSION_OPTION_EXCEPT_FIRST

VERSION_OPTION_ALL

Properties

$Group
$Type
$TypeString
$GroupName
$Name
$ActivationDate
$Information
$TriggerTypes

Methods

__construct()

Constructor

eZWorkflowEventType($typeString, $name)

from eZWorkflowEventType
attributeDecoder($event, $attr)

typeFunctionalAttributes()

attributes()

hasAttribute($attr)

attribute($attr)

execute($process, $event)

initializeEvent($event)

validateUserIDList($userIDList, $reason)

validateGroupIDList($userGroupIDList, $reason)

bool|int validateHTTPInput(eZHTTPTool $http, $base $base, eZWorkflowEvent $workflowEvent, $validation $validation)

fetchHTTPInput($http, $base, $event)

createApproveCollaboration($process, $event, $userID, $contentobjectID, $contentobjectVersion, $editors)

customWorkflowEventHTTPAction($http, $action, $workflowEvent)

cleanupAfterRemoving($attr = array())

checkApproveCollaboration($process, $event)

Details

at line 34
public __construct()

Constructor

in eZWorkflowEventType at line 35
public eZWorkflowEventType($typeString, $name)

Parameters

$typeString
$name

at line 40
public attributeDecoder($event, $attr)

Parameters

$event
$attr

at line 93
public typeFunctionalAttributes()

at line 103
public attributes()

at line 113
public hasAttribute($attr)

Parameters

$attr

at line 118
public attribute($attr)

Parameters

$attr

at line 140
public execute($process, $event)

Parameters

$process
$event

at line 335
public initializeEvent($event)

Parameters

$event

at line 339
public validateUserIDList($userIDList, $reason)

Parameters

$userIDList
$reason

at line 355
public validateGroupIDList($userGroupIDList, $reason)

Parameters

$userGroupIDList
$reason

at line 389
public bool|int validateHTTPInput(eZHTTPTool $http, $base $base, eZWorkflowEvent $workflowEvent, $validation $validation)

Parameters

eZHTTPTool $http
$base $base
eZWorkflowEvent $workflowEvent
$validation $validation

Return Value

bool|int

at line 503
public fetchHTTPInput($http, $base, $event)

Parameters

$http
$base
$event

at line 610
public createApproveCollaboration($process, $event, $userID, $contentobjectID, $contentobjectVersion, $editors)

Parameters

$process
$event
$userID
$contentobjectID
$contentobjectVersion
$editors

at line 624
public customWorkflowEventHTTPAction($http, $action, $workflowEvent)

Parameters

$http
$action
$workflowEvent

at line 703
public cleanupAfterRemoving($attr = array())

Parameters

$attr

at line 743
public checkApproveCollaboration($process, $event)

Parameters

$process
$event