eZPublish  4.4
eZWorkflowEvent Class Reference

! eZKernel The class eZWorkflowEvent does More...

+ Inheritance diagram for eZWorkflowEvent:
+ Collaboration diagram for eZWorkflowEvent:

Public Member Functions

 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 content ()
 
 customHTTPAction ($http, $action)
 
 eventType ()
 
 eZWorkflowEvent ($row)
 
 hasAttribute ($attr)
 
 move ($down, $params=null)
 
 setContent ($content)
 
 store ($fieldFilters=null)
 
 storeDefined ($fieldFilters=null)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static create ($workflowID, $typeString)
 Creates a new workflow event. More...
 
static definition ()
 
static fetch ($id, $asObject=true, $version=0, $field_filters=null)
 
static fetchFilteredList ($cond, $asObject=true)
 
static fetchList ($asObject=true)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Public Attributes

 $Content
 
 $DataInt1
 
 $DataInt2
 
 $DataInt3
 
 $DataInt4
 
 $DataText1
 
 $DataText2
 
 $DataText3
 
 $DataText4
 
 $Description
 
 $ID
 
 $Placement
 
 $TypeString
 
 $Version
 
 $WorkflowID
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

! eZKernel The class eZWorkflowEvent does

Member Function Documentation

eZWorkflowEvent::attribute (   $attr,
  $noFunction = false 
)

Referenced by store().

eZWorkflowEvent::attributes ( )
eZWorkflowEvent::content ( )

Returns the content for this event.

static eZWorkflowEvent::create (   $workflowID,
  $typeString 
)
static

Creates a new workflow event.

Parameters
int$workflowID
string$typeString
Returns
eZWorkflowEvent
eZWorkflowEvent::customHTTPAction (   $http,
  $action 
)

Executes the custom HTTP action

eZWorkflowEvent::eventType ( )
eZWorkflowEvent::eZWorkflowEvent (   $row)

Referenced by create().

static eZWorkflowEvent::fetch (   $id,
  $asObject = true,
  $version = 0,
  $field_filters = null 
)
static
static eZWorkflowEvent::fetchFilteredList (   $cond,
  $asObject = true 
)
static
static eZWorkflowEvent::fetchList (   $asObject = true)
static
eZWorkflowEvent::hasAttribute (   $attr)
eZWorkflowEvent::move (   $down,
  $params = null 
)

Moves the object down if $down is true, otherwise up. If object is at either top or bottom it is wrapped around.

eZWorkflowEvent::setContent (   $content)

Sets the content for the current event

eZWorkflowEvent::store (   $fieldFilters = null)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZWorkflowEvent::storeDefined (   $fieldFilters = null)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Member Data Documentation

eZWorkflowEvent::$Content

Referenced by content().

eZWorkflowEvent::$DataInt1
eZWorkflowEvent::$DataInt2
eZWorkflowEvent::$DataInt3
eZWorkflowEvent::$DataInt4
eZWorkflowEvent::$DataText1
eZWorkflowEvent::$DataText2
eZWorkflowEvent::$DataText3
eZWorkflowEvent::$DataText4
eZWorkflowEvent::$Description
eZWorkflowEvent::$ID
eZWorkflowEvent::$Placement

Referenced by move().

eZWorkflowEvent::$TypeString
eZWorkflowEvent::$Version

Referenced by move().

eZWorkflowEvent::$WorkflowID

Referenced by move().


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