|
Romain Dausset
|
Friday 30 May 2008 6:44:22 am
Comment48949
I'm just trying to launch some php actions on publishing objects (eg: user). My autoload array seem to be ok :
return array(
'CustomEditHandler' => 'extension\customedit\content\customedithandler.php',
'PclZip' => 'extension\ezodf\lib\pclzip.lib.php',
'eZDHTMLInputParser' => 'extension\ezdhtml\ezxmltext\handlers\input\ezdhtmlinputparser.php',
'eZDHTMLXMLInput' => 'extension\ezdhtml\ezxmltext\handlers\input\ezdhtmlxmlinput.php',
'eZOOConverter' => 'extension\ezodf\modules\ezodf\ezooconverter.php',
'eZOOGenerator' => 'extension\ezodf\modules\ezodf\ezoogenerator.php',
'eZOOImport' => 'extension\ezodf\modules\ezodf\ezooimport.php',
'eZOpenofficeUploadHandler' => 'extension\ezodf\uploadhandlers\ezopenofficeuploadhandler.php',
'ezdhtmlInfo' => 'extension\ezdhtml\ezinfo.php',
'ezodfInfo' => 'extension\ezodf\ezinfo.php',
);
If it help you this is the beginning of my customedithandler.php ( I use the same on 3.9 and it works fine ) :
<?php
class CustomEditHandler extends eZContentObjectEditHandler
{
function fetchInput( &$http, &$module, &$class, &$object, &$version, &$contentObjectAttributes, $editVersion, $editLanguage, $fromLanguage )
{
}
function storeActionList()
{
}
function publish( $contentObjectID, $contentObjectVersion )
{
// I want to access php here when I publish objects
[...]
Thanks, Romain.
--
Romain Dausset
rdausset@facileit.com
http://www.facileit.com
|