Wednesday 05 September 2007 5:43:50 am
eZOperationHandler::execute( 'content', 'publish', array( 'object_id' => $object->attribute( 'id' ), 'version' => $object->attribute('current_version'))) Well the contentobject publishing just needs quite a long time usually about 1 sec. You can`t really make it faster. The only tips i can give you is execute this on a linux maschine and clear the internal object cache after every 100 contentobjects Else it looks like you are working with existing objects and you try to just change some values in this case you can: - skip creating a new version, just use fetch(), setAtrribute() and store() you basicly keep the current version
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/
|