프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$contentTypeGroupListReference | string | Contains the URL for the list of ContentTypeGroups for the ContentType. | |
$contentTypeService | Content type service to fetch additional information from. | ||
$descriptions | string[] | Contains the human readable description of the content type. | |
$fieldDefinitionListReference | string | Carries the URL for the list of FieldDefinitions for the type. | |
$names | string[] | Contains the human readable name in all provided languages of the content type. |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
__get ( string $property ) : mixed | Magic getter for retrieving convenience properties. | |
__isset ( string $property ) : boolean | Magic isset for signaling existence of convenience properties. | |
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 ) : |
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. | |
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. |
public __construct ( |
||
$contentTypeService | ||
$data | array |
public getContentTypeGroups ( ) : eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] | ||
리턴 | eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup[] |
public getDescription ( string $languageCode ) : string | ||
$languageCode | string | |
리턴 | string | the description for the given language or null if none exists. |
array( 'eng' => '', 'de' => '' );
public getDescriptions ( ) : string[] | ||
리턴 | string[] |
public getFieldDefinition ( string $fieldDefinitionIdentifier ) : |
||
$fieldDefinitionIdentifier | string | |
리턴 |
public getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] | ||
리턴 | eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] |
array( 'eng' => '', 'de' => '' );
public getNames ( ) : string[] | ||
리턴 | string[] |
protected string $contentTypeGroupListReference | ||
리턴 | string |
protected ContentTypeService,eZ\Publish\Core\REST\Client $contentTypeService | ||
리턴 |
protected string[] $descriptions | ||
리턴 | string[] |
protected string $fieldDefinitionListReference | ||
리턴 | string |