Class

eZWorkflowType

class eZWorkflowType

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

Properties

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

Methods

__construct(string $group, string $type, string $groupName, string $name)

Constructor

eZWorkflowType(string $group, string $type, string $groupName, string $name)

attributes()

hasAttribute($attr)

attribute($attr)

setAttribute($attr, $value)

setTriggerTypes($allowedTypes)

eventDescription()

execute($process, $event)

initializeEvent($event)

validateHTTPInput($http, $base, $event, $validation)

fixupHTTPInput($http, $base, $event)

fetchHTTPInput($http, $base, $event)

setActivationDate($date)

setInformation($inf)

needCleanup()

cleanupAfterRemoving($attr = array())

cleanup($process, $event)

attributeDecoder($event, $attr)

typeFunctionalAttributes()

customWorkflowEventHTTPAction($http, $action, $workflowEvent)

workflowEventContent($event)

storeEventData($event, $version)

storeDefinedEventData($event)

isAllowed($moduleName, $functionName, $connectType)

Details

at line 41
public __construct(string $group, string $type, string $groupName, string $name)

Constructor

Parameters

string $group
string $type
string $groupName
string $name

at line 67
public eZWorkflowType(string $group, string $type, string $groupName, string $name)

Parameters

string $group
string $type
string $groupName
string $name

at line 224
public attributes()

at line 231
public hasAttribute($attr)

Parameters

$attr

at line 236
public attribute($attr)

Parameters

$attr

at line 261
public setAttribute($attr, $value)

Parameters

$attr
$value

at line 275
public setTriggerTypes($allowedTypes)

Parameters

$allowedTypes

at line 280
public eventDescription()

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

Parameters

$process
$event

at line 290
public initializeEvent($event)

Parameters

$event

at line 294
public validateHTTPInput($http, $base, $event, $validation)

Parameters

$http
$base
$event
$validation

at line 299
public fixupHTTPInput($http, $base, $event)

Parameters

$http
$base
$event

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

Parameters

$http
$base
$event

at line 308
public setActivationDate($date)

Parameters

$date

at line 313
public setInformation($inf)

Parameters

$inf

at line 318
public needCleanup()

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

Parameters

$attr

at line 327
public cleanup($process, $event)

Parameters

$process
$event

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

Parameters

$event
$attr

at line 336
public typeFunctionalAttributes()

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

Parameters

$http
$action
$workflowEvent

at line 345
public workflowEventContent($event)

Parameters

$event

at line 349
public storeEventData($event, $version)

Parameters

$event
$version

at line 352
public storeDefinedEventData($event)

Parameters

$event

at line 364
public isAllowed($moduleName, $functionName, $connectType)

Parameters

$moduleName
$functionName
$connectType