eZ Publish  [trunk]
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 17 of file ezworkflowtype.php.


Member Function Documentation

static eZWorkflowType::allowedTypes ( ) [static]

Definition at line 121 of file ezworkflowtype.php.

Referenced by loadAndRegisterAllTypes().

eZWorkflowType::attributeDecoder ( event,
attr 
)
eZWorkflowType::cleanup ( process,
event 
)

Reimplemented in eZPaymentGatewayType.

Definition at line 308 of file ezworkflowtype.php.

eZWorkflowType::cleanupAfterRemoving ( attr = array())

Reimplemented in eZApproveType.

Definition at line 304 of file ezworkflowtype.php.

static eZWorkflowType::createType ( typeString) [static]

Definition at line 61 of file ezworkflowtype.php.

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

eZWorkflowType::customWorkflowEventHTTPAction ( http,
action,
workflowEvent 
)

Reimplemented in eZApproveType, and eZWaitUntilDateType.

Definition at line 322 of file ezworkflowtype.php.

Definition at line 261 of file ezworkflowtype.php.

Referenced by attribute().

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

Reimplemented in eZApproveType, eZPaymentGatewayType, eZMultiplexerType, and eZWaitUntilDateType.

Definition at line 285 of file ezworkflowtype.php.

Definition at line 95 of file ezworkflowtype.php.

Referenced by eZContentObject\purge().

eZWorkflowType::fixupHTTPInput ( http,
base,
event 
)

Definition at line 280 of file ezworkflowtype.php.

Reimplemented in eZPaymentGatewayType, eZMultiplexerType, and eZApproveType.

Definition at line 271 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 345 of file ezworkflowtype.php.

Definition at line 133 of file ezworkflowtype.php.

Referenced by fetchRegisteredTypes().

static eZWorkflowType::loadAndRegisterType ( typeString) [static]

Definition at line 159 of file ezworkflowtype.php.

Referenced by createType(), and loadAndRegisterAllTypes().

Reimplemented in eZPaymentGatewayType.

Definition at line 299 of file ezworkflowtype.php.

static eZWorkflowType::registerType ( group,
type,
class_name 
) [static]
eZWorkflowType::setAttribute ( attr,
value 
)

Definition at line 242 of file ezworkflowtype.php.

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 256 of file ezworkflowtype.php.

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

static eZWorkflowType::statusName ( status) [static]

Definition at line 53 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

static eZWorkflowType::statusNameMap ( ) [static]

Get status name map.

Returns:
array Status name map

Definition at line 370 of file ezworkflowtype.php.

Referenced by eZWorkflowFunctionCollection\fetchWorkflowTypeStatuses(), and statusName().

Reimplemented in eZWaitUntilDateType.

Definition at line 333 of file ezworkflowtype.php.

eZWorkflowType::storeEventData ( event,
version 
)

Reimplemented in eZWaitUntilDateType.

Definition at line 330 of file ezworkflowtype.php.

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

Reimplemented in eZApproveType.

Definition at line 275 of file ezworkflowtype.php.

Reimplemented in eZWaitUntilDateType.

Definition at line 326 of file ezworkflowtype.php.


Member Data Documentation

eZWorkflowType::$ActivationDate

Definition at line 388 of file ezworkflowtype.php.

eZWorkflowType::$Group

Definition at line 383 of file ezworkflowtype.php.

eZWorkflowType::$GroupName

Definition at line 386 of file ezworkflowtype.php.

eZWorkflowType::$Information

Definition at line 389 of file ezworkflowtype.php.

eZWorkflowType::$Name

Definition at line 387 of file ezworkflowtype.php.

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

Definition at line 390 of file ezworkflowtype.php.

eZWorkflowType::$Type

Definition at line 384 of file ezworkflowtype.php.

eZWorkflowType::$TypeString

Definition at line 385 of file ezworkflowtype.php.

Definition at line 26 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 19 of file ezworkflowtype.php.

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

Definition at line 28 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 24 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 29 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().

Definition at line 31 of file ezworkflowtype.php.

Referenced by eZWorkflowProcess\run().


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