Property | Type | Description | |
---|---|---|---|
$domainMapper | |||
$fieldTypeRegistry | |||
$nameSchemaService | |||
$persistenceHandler | eZ\Publish\SPI\Persistence\Handler | ||
$relationProcessor | |||
$repository | |||
$settings | array |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\SPI\Persistence\Handler $handler, |
Setups service with reference to repository object that created it & corresponding handler. | |
addRelation ( eZ\Publish\API\Repository\Values\Content\VersionInfo $sourceVersion, eZ\Publish\API\Repository\Values\Content\ContentInfo $destinationContent ) : eZ\Publish\API\Repository\Values\Content\Relation | Adds a relation of type common. | |
addTranslationInfo ( eZ\Publish\API\Repository\Values\Content\TranslationInfo $translationInfo ) | Adds translation information to the content object. | |
copyContent ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\LocationCreateStruct $destinationLocationCreateStruct, eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo = null ) : eZ\Publish\API\Repository\Values\Content\Content | Copies the content to a new location. If no version is given, all versions are copied, otherwise only the given version. | |
createContent ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct, array $locationCreateStructs = [] ) : eZ\Publish\API\Repository\Values\Content\Content | Creates a new content draft assigned to the authenticated user. | |
createContentDraft ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo = null, eZ\Publish\API\Repository\Values\User\User $creator = null ) : eZ\Publish\API\Repository\Values\Content\Content | Creates a draft from a published or archived version. | |
deleteContent ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : mixed[] | Deletes a content object including all its versions and locations including their subtrees. | |
deleteRelation ( eZ\Publish\API\Repository\Values\Content\VersionInfo $sourceVersion, eZ\Publish\API\Repository\Values\Content\ContentInfo $destinationContent ) | Removes a relation of type COMMON from a draft. | |
deleteVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) | Removes the given version. | |
internalLoadContent ( mixed $id, array $languages = null, integer | null $versionNo = null, boolean $isRemoteId = false, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | Loads content in a version of the given content object. | |
internalLoadContentInfo ( mixed $id, boolean $isRemoteId = false ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | Loads a content info object. | |
loadContent ( integer $contentId, array $languages = null, integer | null $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | Loads content in a version of the given content object. | |
loadContentByContentInfo ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, array $languages = null, integer $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | Loads content in a version for the given content info object. | |
loadContentByRemoteId ( string $remoteId, array $languages = null, integer $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | Loads content in a version for the content object reference by the given remote id. | |
loadContentByVersionInfo ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, array $languages = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | Loads content in the version given by version info. | |
loadContentDrafts ( eZ\Publish\API\Repository\Values\User\User $user = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | Loads drafts for a user. | |
loadContentInfo ( integer $contentId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | Loads a content info object. | |
loadContentInfoByRemoteId ( string $remoteId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | Loads a content info object for the given remoteId. | |
loadRelations ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) : eZ\Publish\API\Repository\Values\Content\Relation[] | Loads all outgoing relations for the given version. | |
loadReverseRelations ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : eZ\Publish\API\Repository\Values\Content\Relation[] | Loads all incoming relations for a content object. | |
loadTranslationInfos ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, array $filter = [] ) : eZ\Publish\API\Repository\Values\Content\TranslationInfo[] | lists the translations done on this content object. | |
loadVersionInfo ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, integer $versionNo = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | Loads a version info of the given content object. | |
loadVersionInfoById ( mixed $contentId, integer $versionNo = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | Loads a version info of the given content object id. | |
loadVersions ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : eZ\Publish\API\Repository\Values\Content\VersionInfo[] | Loads all versions for the given content. | |
newContentCreateStruct ( eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, string $mainLanguageCode ) : eZ\Publish\API\Repository\Values\Content\ContentCreateStruct | Instantiates a new content create struct object. | |
newContentMetadataUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct | Instantiates a new content meta data update struct. | |
newContentUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | Instantiates a new content update struct. | |
newTranslationInfo ( ) : eZ\Publish\API\Repository\Values\Content\TranslationInfo | Instantiates a new TranslationInfo object. | |
newTranslationValues ( ) : eZ\Publish\API\Repository\Values\Content\TranslationValues | Instantiates a Translation object. | |
publishVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) : eZ\Publish\API\Repository\Values\Content\Content | Publishes a content version. | |
translateVersion ( eZ\Publish\API\Repository\Values\Content\TranslationInfo $translationInfo, eZ\Publish\API\Repository\Values\Content\TranslationValues $translationValues, eZ\Publish\API\Repository\Values\User\User $modifier = null ) : eZ\Publish\API\Repository\Values\Content\Content | Translate a version. | |
updateContent ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct ) : eZ\Publish\API\Repository\Values\Content\Content | Updates the fields of a draft. | |
updateContentMetadata ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct $contentMetadataUpdateStruct ) : eZ\Publish\API\Repository\Values\Content\Content | Updates the metadata. |
Method | Description | |
---|---|---|
buildSPILocationCreateStructs ( array $locationCreateStructs ) : eZ\Publish\SPI\Persistence\Content\Location\CreateStruct[] | ||
getDefaultObjectStates ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState[] | Returns an array of default content states with content state group id as key. | |
getLanguageCodesForCreate ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct ) : string[] | Returns all language codes used in given $fields. | |
getLanguageCodesForUpdate ( eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct, eZ\Publish\API\Repository\Values\Content\Content $content ) : array | Returns all language codes used in given $fields. | |
internalPublishVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, integer | null $publicationDate = null ) : eZ\Publish\API\Repository\Values\Content\Content | Publishes a content version. | |
mapFieldsForCreate ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct ) : array | Returns an array of fields like $fields[$field->fieldDefIdentifier][$field->languageCode]. | |
mapFieldsForUpdate ( eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, string $mainLanguageCode ) : array | Returns an array of fields like $fields[$field->fieldDefIdentifier][$field->languageCode]. | |
publishUrlAliasesForContent ( eZ\Publish\API\Repository\Values\Content\Content $content, boolean $updatePathIdentificationString = true ) | Publishes URL aliases for all locations of a given content. |
Method | Description | |
---|---|---|
cloneField ( eZ\Publish\API\Repository\Values\Content\Field $field, array $overrides = [] ) : eZ\Publish\API\Repository\Values\Content\Field | Clones $field with overriding specific properties from given $overrides array. |
public __construct ( eZ\Publish\API\Repository\Repository $repository, eZ\Publish\SPI\Persistence\Handler $handler, |
||
$repository | eZ\Publish\API\Repository\Repository | |
$handler | eZ\Publish\SPI\Persistence\Handler | |
$domainMapper | ||
$relationProcessor | ||
$nameSchemaService | ||
$fieldTypeRegistry | ||
$settings | array |
public addRelation ( eZ\Publish\API\Repository\Values\Content\VersionInfo $sourceVersion, eZ\Publish\API\Repository\Values\Content\ContentInfo $destinationContent ) : eZ\Publish\API\Repository\Values\Content\Relation | ||
$sourceVersion | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$destinationContent | eZ\Publish\API\Repository\Values\Content\ContentInfo | the destination of the relation |
return | eZ\Publish\API\Repository\Values\Content\Relation | the newly created relation |
public addTranslationInfo ( eZ\Publish\API\Repository\Values\Content\TranslationInfo $translationInfo ) | ||
$translationInfo | eZ\Publish\API\Repository\Values\Content\TranslationInfo |
protected buildSPILocationCreateStructs ( array $locationCreateStructs ) : eZ\Publish\SPI\Persistence\Content\Location\CreateStruct[] | ||
$locationCreateStructs | array | |
return | eZ\Publish\SPI\Persistence\Content\Location\CreateStruct[] |
public copyContent ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\LocationCreateStruct $destinationLocationCreateStruct, eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo = null ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$destinationLocationCreateStruct | eZ\Publish\API\Repository\Values\Content\LocationCreateStruct | the target location where the content is copied to |
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
return | eZ\Publish\API\Repository\Values\Content\Content |
public createContent ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct, array $locationCreateStructs = [] ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentCreateStruct | eZ\Publish\API\Repository\Values\Content\ContentCreateStruct | |
$locationCreateStructs | array | For each location parent under which a location should be created for the content |
return | eZ\Publish\API\Repository\Values\Content\Content | - the newly created content draft |
public createContentDraft ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo = null, eZ\Publish\API\Repository\Values\User\User $creator = null ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$creator | eZ\Publish\API\Repository\Values\User\User | if set given user is used to create the draft - otherwise the current-user is used |
return | eZ\Publish\API\Repository\Values\Content\Content | - the newly created content draft |
public deleteContent ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : mixed[] | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
return | mixed[] | Affected Location Id's |
public deleteRelation ( eZ\Publish\API\Repository\Values\Content\VersionInfo $sourceVersion, eZ\Publish\API\Repository\Values\Content\ContentInfo $destinationContent ) | ||
$sourceVersion | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$destinationContent | eZ\Publish\API\Repository\Values\Content\ContentInfo |
public deleteVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo |
protected getDefaultObjectStates ( ) : eZ\Publish\SPI\Persistence\Content\ObjectState[] | ||
return | eZ\Publish\SPI\Persistence\Content\ObjectState[] |
protected getLanguageCodesForCreate ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct ) : string[] | ||
$contentCreateStruct | eZ\Publish\API\Repository\Values\Content\ContentCreateStruct | |
return | string[] |
protected getLanguageCodesForUpdate ( eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct, eZ\Publish\API\Repository\Values\Content\Content $content ) : array | ||
$contentUpdateStruct | eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | |
$content | eZ\Publish\API\Repository\Values\Content\Content | |
return | array |
public internalLoadContent ( mixed $id, array $languages = null, integer | null $versionNo = null, boolean $isRemoteId = false, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$id | mixed | |
$languages | array | A language filter for fields. If not given all languages are returned |
$versionNo | integer | null | the version number. If not given the current version is returned |
$isRemoteId | boolean | |
$useAlwaysAvailable | boolean | Add Main language to \$languages if true (default) and if alwaysAvailable is true |
return | eZ\Publish\API\Repository\Values\Content\Content |
public internalLoadContentInfo ( mixed $id, boolean $isRemoteId = false ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | ||
$id | mixed | |
$isRemoteId | boolean | |
return | eZ\Publish\API\Repository\Values\Content\ContentInfo |
protected internalPublishVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, integer | null $publicationDate = null ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$publicationDate | integer | null | If null existing date is kept if there is one, otherwise current time is used. |
return | eZ\Publish\API\Repository\Values\Content\Content |
public loadContent ( integer $contentId, array $languages = null, integer | null $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentId | integer | |
$languages | array | A language filter for fields. If not given all languages are returned |
$versionNo | integer | null | the version number. If not given the current version is returned |
$useAlwaysAvailable | boolean | Add Main language to \$languages if true (default) and if alwaysAvailable is true |
return | eZ\Publish\API\Repository\Values\Content\Content |
public loadContentByContentInfo ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, array $languages = null, integer $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$languages | array | A language filter for fields. If not given all languages are returned |
$versionNo | integer | the version number. If not given the current version is returned |
$useAlwaysAvailable | boolean | Add Main language to \$languages if true (default) and if alwaysAvailable is true |
return | eZ\Publish\API\Repository\Values\Content\Content |
public loadContentByRemoteId ( string $remoteId, array $languages = null, integer $versionNo = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$remoteId | string | |
$languages | array | A language filter for fields. If not given all languages are returned |
$versionNo | integer | the version number. If not given the current version is returned |
$useAlwaysAvailable | boolean | Add Main language to \$languages if true (default) and if alwaysAvailable is true |
return | eZ\Publish\API\Repository\Values\Content\Content |
public loadContentByVersionInfo ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, array $languages = null, boolean $useAlwaysAvailable = true ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$languages | array | A language filter for fields. If not given all languages are returned |
$useAlwaysAvailable | boolean | Add Main language to \$languages if true (default) and if alwaysAvailable is true |
return | eZ\Publish\API\Repository\Values\Content\Content |
public loadContentDrafts ( eZ\Publish\API\Repository\Values\User\User $user = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | ||
$user | eZ\Publish\API\Repository\Values\User\User | |
return | eZ\Publish\API\Repository\Values\Content\VersionInfo | the drafts ({@link VersionInfo}) owned by the given user |
public loadContentInfo ( integer $contentId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | ||
$contentId | integer | |
return | eZ\Publish\API\Repository\Values\Content\ContentInfo |
public loadContentInfoByRemoteId ( string $remoteId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | ||
$remoteId | string | |
return | eZ\Publish\API\Repository\Values\Content\ContentInfo |
public loadRelations ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) : eZ\Publish\API\Repository\Values\Content\Relation[] | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
return | eZ\Publish\API\Repository\Values\Content\Relation[] |
public loadReverseRelations ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : eZ\Publish\API\Repository\Values\Content\Relation[] | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
return | eZ\Publish\API\Repository\Values\Content\Relation[] |
public loadTranslationInfos ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, array $filter = [] ) : eZ\Publish\API\Repository\Values\Content\TranslationInfo[] | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$filter | array | |
return | eZ\Publish\API\Repository\Values\Content\TranslationInfo[] |
public loadVersionInfo ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, integer $versionNo = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$versionNo | integer | the version number. If not given the current version is returned. |
return | eZ\Publish\API\Repository\Values\Content\VersionInfo |
public loadVersionInfoById ( mixed $contentId, integer $versionNo = null ) : eZ\Publish\API\Repository\Values\Content\VersionInfo | ||
$contentId | mixed | |
$versionNo | integer | the version number. If not given the current version is returned. |
return | eZ\Publish\API\Repository\Values\Content\VersionInfo |
public loadVersions ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo ) : eZ\Publish\API\Repository\Values\Content\VersionInfo[] | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
return | eZ\Publish\API\Repository\Values\Content\VersionInfo[] | Sorted by creation date |
protected mapFieldsForCreate ( eZ\Publish\API\Repository\Values\Content\ContentCreateStruct $contentCreateStruct ) : array | ||
$contentCreateStruct | eZ\Publish\API\Repository\Values\Content\ContentCreateStruct | |
return | array |
protected mapFieldsForUpdate ( eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, string $mainLanguageCode ) : array | ||
$contentUpdateStruct | eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | |
$contentType | eZ\Publish\API\Repository\Values\ContentType\ContentType | |
$mainLanguageCode | string | |
return | array |
public newContentCreateStruct ( eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, string $mainLanguageCode ) : eZ\Publish\API\Repository\Values\Content\ContentCreateStruct | ||
$contentType | eZ\Publish\API\Repository\Values\ContentType\ContentType | |
$mainLanguageCode | string | |
return | eZ\Publish\API\Repository\Values\Content\ContentCreateStruct |
public newContentMetadataUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct | ||
return | eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct |
public newContentUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | ||
return | eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct |
public newTranslationInfo ( ) : eZ\Publish\API\Repository\Values\Content\TranslationInfo | ||
return | eZ\Publish\API\Repository\Values\Content\TranslationInfo |
public newTranslationValues ( ) : eZ\Publish\API\Repository\Values\Content\TranslationValues | ||
return | eZ\Publish\API\Repository\Values\Content\TranslationValues |
protected publishUrlAliasesForContent ( eZ\Publish\API\Repository\Values\Content\Content $content, boolean $updatePathIdentificationString = true ) | ||
$content | eZ\Publish\API\Repository\Values\Content\Content | |
$updatePathIdentificationString | boolean | this parameter is legacy storage specific for updating ezcontentobject_tree.path_identification_string, it is ignored by other storage engines |
public publishVersion ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
return | eZ\Publish\API\Repository\Values\Content\Content |
public translateVersion ( eZ\Publish\API\Repository\Values\Content\TranslationInfo $translationInfo, eZ\Publish\API\Repository\Values\Content\TranslationValues $translationValues, eZ\Publish\API\Repository\Values\User\User $modifier = null ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$translationInfo | eZ\Publish\API\Repository\Values\Content\TranslationInfo | |
$translationValues | eZ\Publish\API\Repository\Values\Content\TranslationValues | |
$modifier | eZ\Publish\API\Repository\Values\User\User | If set, this user is taken as modifier of the version |
return | eZ\Publish\API\Repository\Values\Content\Content | the content draft with the translated fields |
public updateContent ( eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo, eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct $contentUpdateStruct ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$versionInfo | eZ\Publish\API\Repository\Values\Content\VersionInfo | |
$contentUpdateStruct | eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | |
return | eZ\Publish\API\Repository\Values\Content\Content | the content draft with the updated fields |
public updateContentMetadata ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo, eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct $contentMetadataUpdateStruct ) : eZ\Publish\API\Repository\Values\Content\Content | ||
$contentInfo | eZ\Publish\API\Repository\Values\Content\ContentInfo | |
$contentMetadataUpdateStruct | eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct | |
return | eZ\Publish\API\Repository\Values\Content\Content | the content with the updated attributes |
protected DomainMapper,eZ\Publish\Core\Repository\Helper $domainMapper | ||
return |
protected FieldTypeRegistry,eZ\Publish\Core\Repository\Helper $fieldTypeRegistry | ||
return |
protected NameSchemaService,eZ\Publish\Core\Repository\Helper $nameSchemaService | ||
return |
protected Handler,eZ\Publish\SPI\Persistence $persistenceHandler | ||
return | eZ\Publish\SPI\Persistence\Handler |
protected RelationProcessor,eZ\Publish\Core\Repository\Helper $relationProcessor | ||
return |
protected Repository,eZ\Publish\Core\Repository $repository | ||
return |