eZPublishCommunityProject(LegacyStack)  2013.5
publish_content.php File Reference

Namespaces

 kernel
 Autoloader definition for eZ Publish Kernel files.
 

Variables

 $argumentConfig = '[OBJECT_ID] [VERSION_ID]'
 
 $cli = eZCLI::instance()
 
if(count($options['arguments'])!=2) $objectId = $options['arguments'][0]
 
 $operationResult = eZOperationHandler::execute( 'content', 'publish', array( 'object_id' => $objectId, 'version' => $version ) )
 
 $options = $script->getOptions( $optionsConfig, $argumentConfig )
 
 $optionsConfig = ''
 
 $pid = getmypid()
 
 $script
 
 $version = $options['arguments'][1]
 
if(isset($operationResult['status'])&&$operationResult['status']==eZModuleOperationInfo::STATUS_CONTINUEelse
 

Variable Documentation

$argumentConfig = '[OBJECT_ID] [VERSION_ID]'
$cli = eZCLI::instance()
$options = $script->getOptions( $optionsConfig, $argumentConfig )
$optionsConfig = ''
$script
Initial value:
= eZScript::instance( array( 'description' => 'Asynchronous publishing handler, not meant to be used directly',
'use-session' => false,
'use-modules' => true,
'use-extensions' => true ) )
static instance($settings=array())
Returns a shared instance of the eZScript class.
Definition: ezscript.php:1084
$version = $options['arguments'][1]

Referenced by ezpContentPublishingQueue\add(), eZSiteInstaller\addClassAttributes(), eZContentClassGroup\appendClass(), eZIdentifierType\assignValue(), eZContentOperationCollection\attributePublishAction(), checkNodeActions(), checkNodeAssignments(), checkNodeMovements(), eZEnumType\classAttributeContent(), eZContentObject\contentActionList(), eZContentFunctionCollection\contentobjectAttributes(), eZContentObject\contentObjectAttributes(), eZContentObject\contentObjectListRelatingThis(), eZContentClass\contentObjectName(), eZContentObjectTreeNode\contentObjectVersionObject(), eZContentObject\copy(), eZContentObject\copyRevertTo(), eZContentOperationCollection\copyTranslations(), eZContentObject\copyVersion(), eZBinaryFile\create(), eZMedia\create(), eZContentObjectAttribute\create(), eZContentObjectVersion\create(), eZContentObject\create(), eZContentFunctions\createAndPublishObject(), eZWebDAVContentBackend\createFolder(), eZContentObject\createNewVersion(), eZContentObjectPackageHandler\createObjectListNode(), eZEnumType\customClassAttributeHTTPAction(), eZBinaryFileType\customObjectAttributeHTTPAction(), eZMediaType\customObjectAttributeHTTPAction(), eZObjectRelationListType\customObjectAttributeHTTPAction(), eZWaitUntilDateType\customWorkflowEventHTTPAction(), eZPublishSDK\databaseVersion(), datatypeDownload(), eZEnumType\deleteStoredClassAttribute(), eZUserType\deleteStoredObjectAttribute(), eZURLType\deleteStoredObjectAttribute(), eZEnumType\deleteStoredObjectAttribute(), eZMediaType\deleteStoredObjectAttribute(), eZBinaryFileType\deleteStoredObjectAttribute(), eZKeywordType\deleteStoredObjectAttribute(), eZImageType\deleteStoredObjectAttribute(), eZMultiPriceType\deleteStoredObjectAttribute(), eZXMLTextType\deleteStoredObjectAttribute(), eZBinaryFileHandler\downloadFileObject(), eZWaitUntilDateType\execute(), eZApproveType\execute(), eZMultiplexerType\execute(), eZContentObjectEditHandler\executeInputHandlers(), eZContentClass\exists(), eZContentObjectPackageHandler\explainInstallItem(), eZContentObjectTranslation\eZContentObjectTranslation(), eZEnum\eZEnum(), eZMail\eZMail(), eZEnumValue\fetch(), eZBinaryFile\fetch(), eZWorkflowEvent\fetch(), eZWaitUntilDateValue\fetch(), eZContentObjectAttribute\fetch(), eZMedia\fetch(), eZPDFExport\fetch(), eZWorkflow\fetch(), eZContentClassAttribute\fetch(), eZNodeAssignment\fetch(), eZRole\fetch(), eZContentClass\fetch(), eZEnumValue\fetchAllElements(), eZWaitUntilDateValue\fetchAllElements(), eZContentObjectVersion\fetchAttributes(), eZContentClass\fetchAttributes(), eZContentObject\fetchAttributesByIdentifier(), eZContentObjectAttribute\fetchByClassAttributeID(), ezpContentPublishingProcess\fetchByContentObjectVersion(), eZBinaryFile\fetchByFileName(), eZMedia\fetchByFileName(), eZContentClass\fetchByIdentifier(), eZRole\fetchByName(), eZContentClass\fetchByRemoteID(), eZEnumType\fetchClassAttributeHTTPInput(), eZContentObject\fetchClassAttributes(), eZClassFunctionCollection\fetchClassListByGroups(), eZContentObject\fetchDataMap(), eZWorkflow\fetchEventCount(), eZWorkflow\fetchEventCountByWorkflowID(), eZWorkflow\fetchEvents(), eZWorkflow\fetchEventsByWorkflowID(), eZNodeAssignment\fetchForObject(), eZContentClass\fetchIDListContainingDatatype(), eZWorkflow\fetchList(), eZContentClassAttribute\fetchList(), eZContentClass\fetchList(), eZContentObjectAttribute\fetchListByClassID(), eZContentClassAttribute\fetchListByClassID(), eZWorkflow\fetchListCount(), eZContentFunctionCollection\fetchNonTranslationList(), eZMediaType\fetchObjectAttributeHTTPInput(), eZBinaryFileType\fetchObjectAttributeHTTPInput(), eZContentObjectAttribute\fetchSameClassAttributeIDList(), eZContentClass\fetchSearchableAttributes(), eZContentObjectVersion\fetchVersion(), ezpRestDefaultRegexpPrefixFilter\filter(), ezpRestPrefixFilterInterface\getApiVersion(), eZPackage\getInstallState(), eZBinaryFileHandler\handleDownload(), eZBinaryFileType\handleDownload(), eZContentUpload\handleLocalFile(), handleNodeTemplate(), eZContentUpload\handleUpload(), eZContentObjectVersion\hasConflicts(), eZDBInterface\hasRequiredServerVersion(), importRSSItem(), eZImageAliasHandler\initializeFromFile(), eZBinaryFileType\initializeObjectAttribute(), eZIdentifierType\initializeObjectAttribute(), eZContentClassAttribute\initializeObjectAttributes(), eZContentClassAttribute\instantiate(), eZContentClass\instantiate(), ezpContentPublishingQueue\isQueued(), isValidFlowUpgradeVersion(), isValidWebinUpgradeVersion(), eZTextFileUser\loginUser(), eZContentOperationCollection\loopNodeAssignment(), eZEnumType\metaData(), eZWorkflowEvent\move(), eZContentClassAttribute\move(), eZContentObject\name(), eZContentObject\names(), eZContentObjectVersion\nonTranslatableAttributesToUpdate(), eZEnumType\objectAttributeContent(), eZObjectRelationListType\onPublish(), eZMediaType\postInitializeObjectAttribute(), eZContentObject\postUnserialize(), eZDataType\preStoreVersionedClassAttribute(), ezpUrlObjectLinkUpdate\processData(), eZLDAPUser\publishNewUserGroup(), eZContentOperationCollection\publishNode(), eZLDAPUser\publishUpdateUser(), eZCache\purgeImageAliasForObject(), eZContentObject\relatedObjectCount(), eZEnumValue\removeAllElements(), eZWaitUntilDateValue\removeAllElements(), eZContentClass\removeAttributes(), eZEnumValue\removeByID(), eZWaitUntilDateValue\removeByID(), eZBinaryFile\removeByID(), eZMedia\removeByID(), eZWaitUntilDate\removeEntry(), eZEnum\removeEnumeration(), eZWorkflow\removeEvents(), eZContentOperationCollection\removeOldNodes(), eZEnum\removeOldVersion(), eZObjectRelationListType\removeRelationObject(), eZWorkflow\removeTemporary(), eZContentClass\removeTemporary(), eZContentObjectVersion\removeThis(), eZContentObject\removeTranslation(), eZContentObjectVersion\removeVersions(), eZWorkflow\removeWorkflow(), eZContentOperationCollection\resetNodeassignmentOpcodes(), eZContentObject\reverseRelatedObjectCount(), eZContentObject\reverseRelatedObjectList(), eZRSSImport\rssFieldDefinition(), eZContentOperationCollection\sendToPublishingQueue(), eZContentObject\serialize(), eZContentClass\setAlwaysAvailableLanguageID(), eZContentObjectVersion\setAlwaysAvailableLanguageID(), eZContentObject\setAlwaysAvailableLanguageID(), eZContentObject\setContentObjectAttributes(), eZPackage\setInstalled(), eZWorkflow\setIsEnabled(), eZMail\setMIMEVersion(), eZNodeAssignment\setNewMainAssignment(), eZContentOperationCollection\setObjectStatusPublished(), eZPackage\setRelease(), eZEnum\setValue(), eZWaitUntilDate\setVersion(), eZEnum\setVersion(), eZWorkflow\setVersion(), eZContentClass\setVersion(), eZSiteInstaller\setVersion(), eZContentOperationCollection\setVersionStatus(), eZEnumType\storeClassAttribute(), eZWaitUntilDateType\storeDefinedEventData(), eZWaitUntilDateType\storeEventData(), storeNodeAssignments(), eZObjectRelationListType\storeObjectAttribute(), eZContentClassAttribute\storeVersioned(), eZContentClass\storeVersioned(), eZDataType\storeVersionedClassAttribute(), templateOperatorDownload(), eZContentObjectAttribute\translateTo(), eZMediaType\trashStoredObjectAttribute(), eZBinaryFileType\trashStoredObjectAttribute(), eZContentObjectVersion\unpublish(), eZContentObject\unserialize(), eZContentObjectTreeNode\unserialize(), eZISBN10To13Converter\updateContentISBNNumber(), eZContentObjectTreeNode\updateMainNodeID(), eZContentOperationCollection\updateNontranslatableAttributes(), eZContentOperationCollection\updateSectionID(), upgradePackageListByFlowVersion(), upgradePackageListByWebinVersion(), eZContentClass\urlAliasName(), eZContentObjectEditHandler\validateInputHandlers(), eZMediaType\validateObjectAttributeHTTPInput(), eZBinaryFileType\validateObjectAttributeHTTPInput(), eZContentObject\version(), eZContentObject\versionLanguageName(), and eZWaitUntilDateType\workflowEventContent().

if (isset($operationResult['status'])&&$operationResult['status']==eZModuleOperationInfo::STATUS_CONTINUE) else
Initial value:
{
eZLog::write( "[$pid] Operation result for #{$objectId}/{$version}: " . print_r( $operationResult, true ), 'async.log' )
$operationResult
Definition: publish_content.php:44
static write($message, $logName= 'common.log', $dir= 'var/log')
Definition: ezlog.php:36