eZPublish  3.8
eZContentObjectEditHandler Class Reference

The class eZContentObjectEditHandler provides a framework for handling content/edit view specific things in extensions. More...

Public Member Functions

 eZContentObjectEditHandler ()
 
 fetchInput (&$http, &$module, &$class, &$object, &$version, &$contentObjectAttributes, $editVersion, $editLanguage, $fromLanguage)
 
 publish ($contentObjectID, $contentObjectVersion)
 
 storeActionList ()
 

Static Public Member Functions

 addStoreAction ($name)
 
 executeInputHandlers (&$module, &$class, &$object, &$version, &$contentObjectAttributes, $editVersion, $editLanguage, $fromLanguage)
 
 executePublish ($contentObjectID, $contentObjectVersion)
 
 initialize ()
 
 isStoreAction ()
 

Detailed Description

The class eZContentObjectEditHandler provides a framework for handling content/edit view specific things in extensions.

Member Function Documentation

eZContentObjectEditHandler::addStoreAction (   $name)
static

Set custom HTTP post parameters which should trigger store acrtions.

Parameters
HTTPpost parameter name

Referenced by initialize().

eZContentObjectEditHandler::executeInputHandlers ( $module,
$class,
$object,
$version,
$contentObjectAttributes,
  $editVersion,
  $editLanguage,
  $fromLanguage 
)
static

Calls all extension object edit input handler, and executes this the fetchInput function

eZContentObjectEditHandler::executePublish (   $contentObjectID,
  $contentObjectVersion 
)
static

Calls all publish functions.

Referenced by eZContentOperationCollection\publishObjectExtensionHandler().

eZContentObjectEditHandler::eZContentObjectEditHandler ( )

Constructor

eZContentObjectEditHandler::fetchInput ( $http,
$module,
$class,
$object,
$version,
$contentObjectAttributes,
  $editVersion,
  $editLanguage,
  $fromLanguage 
)

Override this function in the extension to handle edit input parameters.

eZContentObjectEditHandler::initialize ( )
static

Initialize all extension input handler.

eZContentObjectEditHandler::isStoreAction ( )
static

Check if any HTTP input trigger store action

eZContentObjectEditHandler::publish (   $contentObjectID,
  $contentObjectVersion 
)

Do content object publish operations.

eZContentObjectEditHandler::storeActionList ( )

Return list of HTTP postparameters which should trigger store action.


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