eZPublish  4.5
eZApproveType Class Reference

Event type for user approvals. More...

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

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 Member Functions inherited from eZWorkflowEventType
 eZWorkflowEventType ($typeString, $name)
 
- Public Member Functions inherited from eZWorkflowType
 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)
 

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"
 
- Public Attributes inherited from eZWorkflowType
 $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
 

Additional Inherited Members

- Static Public Member Functions inherited from eZWorkflowEventType
static registerEventType ($typeString, $class_name)
 
- Static Public Member Functions inherited from eZWorkflowType
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. More...
 

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

Member Function Documentation

eZApproveType::attribute (   $attr)
eZApproveType::attributeDecoder (   $event,
  $attr 
)
eZApproveType::attributes ( )

Referenced by hasAttribute().

eZApproveType::checkApproveCollaboration (   $process,
  $event 
)

Referenced by execute().

eZApproveType::cleanupAfterRemoving (   $attr = array())
eZApproveType::createApproveCollaboration (   $process,
  $event,
  $userID,
  $contentobjectID,
  $contentobjectVersion,
  $editors 
)

Referenced by execute().

eZApproveType::customWorkflowEventHTTPAction (   $http,
  $action,
  $workflowEvent 
)
eZApproveType::execute (   $process,
  $event 
)
eZApproveType::eZApproveType ( )
eZApproveType::fetchHTTPInput (   $http,
  $base,
  $event 
)
eZApproveType::hasAttribute (   $attr)
eZApproveType::initializeEvent (   $event)
eZApproveType::typeFunctionalAttributes ( )
eZApproveType::validateGroupIDList (   $userGroupIDList,
$reason 
)

Referenced by validateHTTPInput().

eZApproveType::validateHTTPInput (   $http,
  $base,
  $workflowEvent,
$validation 
)
eZApproveType::validateUserIDList (   $userIDList,
$reason 
)

Referenced by validateHTTPInput().

Member Data Documentation

const eZApproveType::COLLABORATION_CREATED = 1

Referenced by execute().

const eZApproveType::COLLABORATION_NOT_CREATED = 0

Referenced by execute().

const eZApproveType::VERSION_OPTION_ALL = 3

Referenced by attributeDecoder(), and fetchHTTPInput().

const eZApproveType::VERSION_OPTION_EXCEPT_FIRST = 2

Referenced by execute().

const eZApproveType::VERSION_OPTION_FIRST_ONLY = 1

Referenced by execute().

const eZApproveType::WORKFLOW_TYPE_STRING = "ezapprove"

Referenced by eZApproveType().


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