eZPublish  3.8
content/operation_definition.php File Reference

Variables

 $OperationList = array()
 
 $OperationList ['read']
 
 $OperationList ['publish']
 

Variable Documentation

$OperationList = array()
$OperationList['read']
Initial value:
= array( 'name' => 'read',
'default_call_method' => array( 'include_file' => 'kernel/content/ezcontentoperationcollection.php',
'class' => 'eZContentOperationCollection' ),
'parameter_type' => 'standard',
'parameters' => array( array( 'name' => 'node_id',
'type' => 'integer',
'required' => true ),
array( 'name' => 'user_id',
'type' => 'integer',
'required' => true ),
array( 'name' => 'language_code',
'type' => 'string',
'default' => '',
'required' => false ) ),
'keys' => array( 'node_id' ),
'body' => array( array( 'type' => 'trigger',
'name' => 'pre_read',
'keys' => array( 'node_id',
'user_id'
) ),
array( 'type' => 'method',
'name' => 'fetch-object',
'frequency' => 'once',
'method' => 'readObject',
) ) )
$OperationList['publish']