PHP 클래스 eZ\Publish\Core\REST\Client\Values\ContentType\ContentTypeDraft

상속: extends eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$innerContentType eZ\Publish\API\Repository\Values\ContentType\ContentType ContentType encapsulated in the draft.

공개 메소드들

메소드 설명
__construct ( eZ\Publish\API\Repository\Values\ContentType\ContentType $innerContentType ) Creates a new draft with $innerContentType.
__get ( $propertyName )
__isset ( $propertyName )
__set ( $propertyName, $propertyValue )
getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] This method returns the content type groups this content type is assigned to.
getDescription ( string $languageCode ) : string This method returns the name of the content type in the given language.
getDescriptions ( ) : string[] This method returns the human readable description of the content type.
getFieldDefinition ( string $fieldDefinitionIdentifier ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition This method returns the field definition for the given identifier.
getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] This method returns the content type field definitions from this type.
getInnerContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType Returns the inner content type.
getName ( string $languageCode ) : string This method returns the name of the content type in the given language.
getNames ( ) : string[] This method returns the human readable name in all provided languages of the content type.

메소드 상세

__construct() 공개 메소드

Creates a new draft with $innerContentType.
public __construct ( eZ\Publish\API\Repository\Values\ContentType\ContentType $innerContentType )
$innerContentType eZ\Publish\API\Repository\Values\ContentType\ContentType

__get() 공개 메소드

public __get ( $propertyName )

__isset() 공개 메소드

public __isset ( $propertyName )

__set() 공개 메소드

public __set ( $propertyName, $propertyValue )

getContentTypeGroups() 공개 메소드

This method returns the content type groups this content type is assigned to.
public getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[]
리턴 eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[]

getDescription() 공개 메소드

This method returns the name of the content type in the given language.
public getDescription ( string $languageCode ) : string
$languageCode string
리턴 string the description for the given language or null if none exists.

getDescriptions() 공개 메소드

The structure of this field is: array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[]
리턴 string[]

getFieldDefinition() 공개 메소드

This method returns the field definition for the given identifier.
public getFieldDefinition ( string $fieldDefinitionIdentifier ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition
$fieldDefinitionIdentifier string
리턴 eZ\Publish\API\Repository\Values\ContentType\FieldDefinition

getFieldDefinitions() 공개 메소드

This method returns the content type field definitions from this type.
public getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]
리턴 eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]

getInnerContentType() 공개 메소드

ONLY FOR INTERNAL USE IN THE INTEGRATION TEST SUITE.
public getInnerContentType ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentType
리턴 eZ\Publish\API\Repository\Values\ContentType\ContentType

getName() 공개 메소드

This method returns the name of the content type in the given language.
public getName ( string $languageCode ) : string
$languageCode string
리턴 string the name for the given language or null if none exists.

getNames() 공개 메소드

The structure of the return value is: array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[]
리턴 string[]

프로퍼티 상세

$innerContentType 보호되어 있는 프로퍼티

ContentType encapsulated in the draft.
protected ContentType,eZ\Publish\API\Repository\Values\ContentType $innerContentType
리턴 eZ\Publish\API\Repository\Values\ContentType\ContentType