eZ Publish  [4.2]
eZWorkflowType Class Reference

! eZKernel The class eZWorkflowType does More...

+ Inheritance diagram for eZWorkflowType:

List of all members.

Public Member Functions

 attribute ($attr)
 attributeDecoder ($event, $attr)
 attributes ()
 cleanup ($process, $event)
 cleanupAfterRemoving ($attr=array())
 customWorkflowEventHTTPAction ($http, $action, $workflowEvent)
 eventDescription ()
 execute ($process, $event)
 eZWorkflowType ($group, $type, $groupName, $name)
 fetchHTTPInput ($http, $base, $event)
 fixupHTTPInput ($http, $base, $event)
 hasAttribute ($attr)
 initializeEvent ($event)
 isAllowed ($moduleName, $functionName, $connectType)
 needCleanup ()
 setActivationDate ($date)
 setAttribute ($attr, $value)
 setInformation ($inf)
 setTriggerTypes ($allowedTypes)
 storeDefinedEventData ($event)
 storeEventData ($event, $version)
 typeFunctionalAttributes ()
 validateHTTPInput ($http, $base, $event, &$validation)
 workflowEventContent ($event)

Static Public Member Functions

static allowedTypes ()
static createType ($typeString)
static fetchRegisteredTypes ()
static loadAndRegisterAllTypes ()
static loadAndRegisterType ($typeString)
static registerType ($group, $type, $class_name)
static statusName ($status)
static statusNameMap ()
 Get status name map.

Public Attributes

 $ActivationDate
 $Group
 $GroupName
 $Information
 $Name
 $TriggerTypes = array( '*' => true )
 $Type
 $TypeString
const STATUS_ACCEPTED = 1
const STATUS_DEFERRED_TO_CRON = 3
const STATUS_DEFERRED_TO_CRON_REPEAT = 4
const STATUS_FETCH_TEMPLATE = 7
const STATUS_FETCH_TEMPLATE_REPEAT = 8
const STATUS_NONE = 0
const STATUS_REDIRECT = 10
const STATUS_REDIRECT_REPEAT = 11
const STATUS_REJECTED = 2
const STATUS_RUN_SUB_EVENT = 5
const STATUS_WORKFLOW_CANCELLED = 6
const STATUS_WORKFLOW_DONE = 9
const STATUS_WORKFLOW_RESET = 12

Detailed Description

! eZKernel The class eZWorkflowType does

Definition at line 39 of file ezworkflowtype.php.


Member Function Documentation

static eZWorkflowType::allowedTypes ( ) [static]

Definition at line 143 of file ezworkflowtype.php.

Referenced by loadAndRegisterAllTypes().

eZWorkflowType::attribute ( attr)

Reimplemented in eZPaymentGatewayType, eZApproveType, eZMultiplexerType, and eZWaitUntilDateType.

Definition at line 239 of file ezworkflowtype.php.

eZWorkflowType::attributeDecoder ( event,
attr 
)

Reimplemented in eZPaymentGatewayType, eZMultiplexerType, and eZApproveType.

Definition at line 334 of file ezworkflowtype.php.

eZWorkflowType::cleanup ( process,
event 
)

Reimplemented in eZPaymentGatewayType.

Definition at line 330 of file ezworkflowtype.php.

eZWorkflowType::cleanupAfterRemoving ( attr = array())

Reimplemented in eZApproveType.

Definition at line 326 of file ezworkflowtype.php.

static eZWorkflowType::createType ( typeString) [static]

Definition at line 83 of file ezworkflowtype.php.

Referenced by eZWorkflowEvent\eventType(), and eZWorkflow\workflowType().

eZWorkflowType::customWorkflowEventHTTPAction ( http,
action,
workflowEvent 
)

Reimplemented in eZApproveType, and eZWaitUntilDateType.

Definition at line 344 of file ezworkflowtype.php.

eZWorkflowType::eventDescription ( )

Definition at line 283 of file ezworkflowtype.php.

Referenced by attribute().

eZWorkflowType::execute ( process,
event 
)
eZWorkflowType::eZWorkflowType ( group,
type,
groupName,
name 
)
eZWorkflowType::fetchHTTPInput ( http,
base,
event 
)

Reimplemented in eZApproveType, eZPaymentGatewayType, eZMultiplexerType, and eZWaitUntilDateType.

Definition at line 307 of file ezworkflowtype.php.

static eZWorkflowType::fetchRegisteredTypes ( ) [static]

Definition at line 117 of file ezworkflowtype.php.

Referenced by eZContentObject\purge().

eZWorkflowType::fixupHTTPInput ( http,
base,
event 
)

Definition at line 302 of file ezworkflowtype.php.

eZWorkflowType::hasAttribute ( attr)

Reimplemented in eZPaymentGatewayType, eZApproveType, eZMultiplexerType, and eZWaitUntilDateType.

Definition at line 234 of file ezworkflowtype.php.

eZWorkflowType::initializeEvent ( event)

Reimplemented in eZPaymentGatewayType, eZApproveType, and eZMultiplexerType.

Definition at line 293 of file ezworkflowtype.php.

eZWorkflowType::isAllowed ( moduleName,
functionName,
connectType 
)

Check if specified trigger is allowed

Parameters:
$moduleNamemodule name
$functionNamefunction name
$connectTypeconnection type
Returns:
true is allowed, false if not.

Definition at line 367 of file ezworkflowtype.php.

static eZWorkflowType::loadAndRegisterAllTypes ( ) [static]

Definition at line 155 of file ezworkflowtype.php.

Referenced by fetchRegisteredTypes().

static eZWorkflowType::loadAndRegisterType ( typeString) [static]

Definition at line 181 of file ezworkflowtype.php.

Referenced by createType(), and loadAndRegisterAllTypes().

eZWorkflowType::needCleanup ( )

Reimplemented in eZPaymentGatewayType.

Definition at line 321 of file ezworkflowtype.php.

static eZWorkflowType::registerType ( group,
type,
class_name 
) [static]
eZWorkflowType::setActivationDate ( date)

Definition at line 311 of file ezworkflowtype.php.

Referenced by eZWaitUntilDateType\execute(), and eZMultiplexerType\execute().

eZWorkflowType::setAttribute ( attr,
value 
)

Definition at line 264 of file ezworkflowtype.php.

eZWorkflowType::setInformation ( inf)

Definition at line 316 of file ezworkflowtype.php.

Referenced by eZWaitUntilDateType\execute(), and eZApproveType\execute().

eZWorkflowType::setTriggerTypes ( allowedTypes)

Set trigger types.

Parameters:
allowedtrigger types format : array( <module> => array( <function> => array( <event> ) ) ) if all is allowed, array( '*' => true )

Definition at line 278 of file ezworkflowtype.php.

Referenced by eZApproveType\eZApproveType(), eZSimpleShippingType\eZSimpleShippingType(), and eZWaitUntilDateType\eZWaitUntilDateType().

static eZWorkflowType::statusName ( status) [static]

Definition at line 75 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

static eZWorkflowType::statusNameMap ( ) [static]

Get status name map.

Returns:
array Status name map

Definition at line 392 of file ezworkflowtype.php.

Referenced by statusName().

eZWorkflowType::storeDefinedEventData ( event)

Reimplemented in eZWaitUntilDateType.

Definition at line 355 of file ezworkflowtype.php.

eZWorkflowType::storeEventData ( event,
version 
)

Reimplemented in eZWaitUntilDateType.

Definition at line 352 of file ezworkflowtype.php.

eZWorkflowType::typeFunctionalAttributes ( )

Reimplemented in eZPaymentGatewayType, eZApproveType, and eZMultiplexerType.

Definition at line 339 of file ezworkflowtype.php.

eZWorkflowType::validateHTTPInput ( http,
base,
event,
&$  validation 
)

Reimplemented in eZApproveType.

Definition at line 297 of file ezworkflowtype.php.

eZWorkflowType::workflowEventContent ( event)

Reimplemented in eZWaitUntilDateType.

Definition at line 348 of file ezworkflowtype.php.


Member Data Documentation

eZWorkflowType::$ActivationDate

Definition at line 410 of file ezworkflowtype.php.

eZWorkflowType::$Group

Definition at line 405 of file ezworkflowtype.php.

eZWorkflowType::$GroupName

Definition at line 408 of file ezworkflowtype.php.

eZWorkflowType::$Information

Definition at line 411 of file ezworkflowtype.php.

eZWorkflowType::$Name

Definition at line 409 of file ezworkflowtype.php.

eZWorkflowType::$TriggerTypes = array( '*' => true )

Definition at line 412 of file ezworkflowtype.php.

eZWorkflowType::$Type

Definition at line 406 of file ezworkflowtype.php.

eZWorkflowType::$TypeString

Definition at line 407 of file ezworkflowtype.php.

Definition at line 48 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 41 of file ezworkflowtype.php.

Referenced by execute(), and eZWorkflowProcess\run().

Definition at line 50 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 46 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 51 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 53 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().


The documentation for this class was generated from the following file: