PHP Class eZ\Publish\Core\REST\Client\Values\FieldDefinitionList

Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$contentTypeService eZ\Publish\Core\REST\Client\ContentTypeService Content type service.
$fieldDefinitionReferences string[] References to contained field references.

Public Methods

Method Description
__construct ( ContentTypeService $contentTypeService, array $fieldDefinitionReferences )
getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[] Fetches and returns the field definitions contained in the list.

Method Details

__construct() public method

public __construct ( ContentTypeService $contentTypeService, array $fieldDefinitionReferences )
$contentTypeService eZ\Publish\Core\REST\Client\ContentTypeService
$fieldDefinitionReferences array

getFieldDefinitions() public method

Fetches and returns the field definitions contained in the list.
public getFieldDefinitions ( ) : eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]
return eZ\Publish\API\Repository\Values\ContentType\FieldDefinition[]

Property Details

$contentTypeService protected property

Content type service.
protected ContentTypeService,eZ\Publish\Core\REST\Client $contentTypeService
return eZ\Publish\Core\REST\Client\ContentTypeService

$fieldDefinitionReferences protected property

References to contained field references.
protected string[] $fieldDefinitionReferences
return string[]