eZ Publish  [4.2]
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 43 of file ezapprovetype.php.


Member Function Documentation

eZApproveType::attribute ( attr)

Reimplemented from eZWorkflowType.

Definition at line 138 of file ezapprovetype.php.

eZApproveType::attributeDecoder ( event,
attr 
)

Reimplemented from eZWorkflowType.

Definition at line 60 of file ezapprovetype.php.

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

eZApproveType::attributes ( )

Reimplemented from eZWorkflowType.

Definition at line 123 of file ezapprovetype.php.

Referenced by hasAttribute().

eZApproveType::checkApproveCollaboration ( process,
event 
)

Definition at line 746 of file ezapprovetype.php.

Referenced by execute().

eZApproveType::cleanupAfterRemoving ( attr = array())

Reimplemented from eZWorkflowType.

Definition at line 706 of file ezapprovetype.php.

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

Definition at line 613 of file ezapprovetype.php.

Referenced by execute().

eZApproveType::customWorkflowEventHTTPAction ( http,
action,
workflowEvent 
)

Reimplemented from eZWorkflowType.

Definition at line 627 of file ezapprovetype.php.

eZApproveType::execute ( process,
event 
)

Reimplemented from eZWorkflowType.

Definition at line 160 of file ezapprovetype.php.

eZApproveType::eZApproveType ( )

Definition at line 54 of file ezapprovetype.php.

eZApproveType::fetchHTTPInput ( http,
base,
event 
)

Reimplemented from eZWorkflowType.

Definition at line 506 of file ezapprovetype.php.

eZApproveType::hasAttribute ( attr)

Reimplemented from eZWorkflowType.

Definition at line 133 of file ezapprovetype.php.

eZApproveType::initializeEvent ( event)

Reimplemented from eZWorkflowType.

Definition at line 355 of file ezapprovetype.php.

eZApproveType::typeFunctionalAttributes ( )

Reimplemented from eZWorkflowType.

Definition at line 113 of file ezapprovetype.php.

eZApproveType::validateGroupIDList ( userGroupIDList,
&$  reason 
)

Definition at line 375 of file ezapprovetype.php.

Referenced by validateHTTPInput().

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

Reimplemented from eZWorkflowType.

Definition at line 401 of file ezapprovetype.php.

eZApproveType::validateUserIDList ( userIDList,
&$  reason 
)

Definition at line 359 of file ezapprovetype.php.

Referenced by validateHTTPInput().


Member Data Documentation

Definition at line 48 of file ezapprovetype.php.

Referenced by execute().

Definition at line 47 of file ezapprovetype.php.

Referenced by execute().

Definition at line 52 of file ezapprovetype.php.

Referenced by attributeDecoder(), and fetchHTTPInput().

Definition at line 51 of file ezapprovetype.php.

Referenced by execute().

Definition at line 50 of file ezapprovetype.php.

Referenced by execute().

Definition at line 45 of file ezapprovetype.php.

Referenced by eZApproveType().


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