eZ Publish  [trunk]
eZApproveType Class Reference

Event type for user approvals. More...

+ Inheritance diagram for eZApproveType:
+ Collaboration diagram for eZApproveType:

List of all members.

Public Member Functions

 attribute ($attr)
 attributeDecoder ($event, $attr)
 attributes ()
 checkApproveCollaboration ($process, $event)
 cleanupAfterRemoving ($attr=array())
 createApproveCollaboration ($process, $event, $userID, $contentobjectID, $contentobjectVersion, $editors)
 customWorkflowEventHTTPAction ($http, $action, $workflowEvent)
 execute ($process, $event)
 eZApproveType ()
 fetchHTTPInput ($http, $base, $event)
 hasAttribute ($attr)
 initializeEvent ($event)
 typeFunctionalAttributes ()
 validateGroupIDList ($userGroupIDList, &$reason)
 validateHTTPInput ($http, $base, $workflowEvent, &$validation)
 validateUserIDList ($userIDList, &$reason)

Public Attributes

const COLLABORATION_CREATED = 1
const COLLABORATION_NOT_CREATED = 0
const VERSION_OPTION_ALL = 3
const VERSION_OPTION_EXCEPT_FIRST = 2
const VERSION_OPTION_FIRST_ONLY = 1
const WORKFLOW_TYPE_STRING = "ezapprove"

Detailed Description

Event type for user approvals.

WorkflowEvent storage fields : data_text1 - selected_sections data_text2 - selected_usergroups data_text3 - approve_users data_text4 - approve_groups data_int2 - language_list data_int3 - content object version option

Definition at line 23 of file ezapprovetype.php.


Member Function Documentation

Reimplemented from eZWorkflowType.

Definition at line 118 of file ezapprovetype.php.

eZApproveType::attributeDecoder ( event,
attr 
)

Reimplemented from eZWorkflowType.

Definition at line 40 of file ezapprovetype.php.

Referenced by customWorkflowEventHTTPAction(), fetchHTTPInput(), and validateHTTPInput().

Reimplemented from eZWorkflowType.

Definition at line 103 of file ezapprovetype.php.

Referenced by hasAttribute().

eZApproveType::checkApproveCollaboration ( process,
event 
)

Definition at line 726 of file ezapprovetype.php.

Referenced by execute().

eZApproveType::cleanupAfterRemoving ( attr = array())

Reimplemented from eZWorkflowType.

Definition at line 686 of file ezapprovetype.php.

eZApproveType::createApproveCollaboration ( process,
event,
userID,
contentobjectID,
contentobjectVersion,
editors 
)

Definition at line 593 of file ezapprovetype.php.

Referenced by execute().

eZApproveType::customWorkflowEventHTTPAction ( http,
action,
workflowEvent 
)

Reimplemented from eZWorkflowType.

Definition at line 607 of file ezapprovetype.php.

eZApproveType::execute ( process,
event 
)

Reimplemented from eZWorkflowType.

Definition at line 140 of file ezapprovetype.php.

Definition at line 34 of file ezapprovetype.php.

eZApproveType::fetchHTTPInput ( http,
base,
event 
)

Reimplemented from eZWorkflowType.

Definition at line 486 of file ezapprovetype.php.

Reimplemented from eZWorkflowType.

Definition at line 113 of file ezapprovetype.php.

Reimplemented from eZWorkflowType.

Definition at line 335 of file ezapprovetype.php.

Reimplemented from eZWorkflowType.

Definition at line 93 of file ezapprovetype.php.

eZApproveType::validateGroupIDList ( userGroupIDList,
&$  reason 
)

Definition at line 355 of file ezapprovetype.php.

Referenced by validateHTTPInput().

eZApproveType::validateHTTPInput ( http,
base,
workflowEvent,
&$  validation 
)

Reimplemented from eZWorkflowType.

Definition at line 381 of file ezapprovetype.php.

eZApproveType::validateUserIDList ( userIDList,
&$  reason 
)

Definition at line 339 of file ezapprovetype.php.

Referenced by validateHTTPInput().


Member Data Documentation

Definition at line 28 of file ezapprovetype.php.

Referenced by execute().

Definition at line 27 of file ezapprovetype.php.

Referenced by execute().

Definition at line 32 of file ezapprovetype.php.

Referenced by attributeDecoder(), and fetchHTTPInput().

Definition at line 31 of file ezapprovetype.php.

Referenced by execute().

Definition at line 30 of file ezapprovetype.php.

Referenced by execute().

Definition at line 25 of file ezapprovetype.php.

Referenced by eZApproveType().


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