Author Topic

Antoine W.

Monday 25 April 2005 5:44:42 am

Comment42840

About this script :
Do you know how I could set the publication date for imported objects ?

Maybe an attribute to set, or a parameter when calling this function :

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

I have searched on /ez/kernel/content/*.php but didnt find where is the publication code.
Thanks.