프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$domainMapper | |||
$fieldTypeRegistry | |||
$nameSchemaService | |||
$persistenceHandler | eZ\Publish\SPI\Persistence\Handler | ||
$relationProcessor | |||
$repository | |||
$settings | array |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 |
리턴 | 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 |
리턴 | 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 | |
리턴 | 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[] | ||
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 |
리턴 | 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 | |
리턴 | 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. |
리턴 | 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 |
리턴 | 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 |
리턴 | 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 |
리턴 | 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 |
리턴 | 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 | |
리턴 | 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 | |
리턴 | eZ\Publish\API\Repository\Values\Content\ContentInfo |
public loadContentInfoByRemoteId ( string $remoteId ) : eZ\Publish\API\Repository\Values\Content\ContentInfo | ||
$remoteId | string | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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. |
리턴 | 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. |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | 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 | |
리턴 | eZ\Publish\API\Repository\Values\Content\ContentCreateStruct |
public newContentMetadataUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct | ||
리턴 | eZ\Publish\API\Repository\Values\Content\ContentMetadataUpdateStruct |
public newContentUpdateStruct ( ) : eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct | ||
리턴 | eZ\Publish\API\Repository\Values\Content\ContentUpdateStruct |
public newTranslationInfo ( ) : eZ\Publish\API\Repository\Values\Content\TranslationInfo | ||
리턴 | eZ\Publish\API\Repository\Values\Content\TranslationInfo |
public newTranslationValues ( ) : eZ\Publish\API\Repository\Values\Content\TranslationValues | ||
리턴 | 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 | |
리턴 | 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 |
리턴 | 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 | |
리턴 | 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 | |
리턴 | eZ\Publish\API\Repository\Values\Content\Content | the content with the updated attributes |
protected DomainMapper,eZ\Publish\Core\Repository\Helper $domainMapper | ||
리턴 |
protected FieldTypeRegistry,eZ\Publish\Core\Repository\Helper $fieldTypeRegistry | ||
리턴 |
protected NameSchemaService,eZ\Publish\Core\Repository\Helper $nameSchemaService | ||
리턴 |
protected Handler,eZ\Publish\SPI\Persistence $persistenceHandler | ||
리턴 | eZ\Publish\SPI\Persistence\Handler |
protected RelationProcessor,eZ\Publish\Core\Repository\Helper $relationProcessor | ||
리턴 |