Author Topic

Björn X

Monday 22 August 2005 7:13:54 am

Comment43921

$operationResult = eZOperationHandler::execute(
'content', 'publish', array(
'object_id' => $contentObject->attribute( 'id' ),
'version' => $contentObject->attribute( 'current_version' ) ) );

If you call this operation with-in your plug-in... it should also run over the "pre_publish" trigger