PHP Класс eZ\Publish\Core\REST\Common\Input\FieldTypeParser

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$contentService eZ\Publish\API\Repository\ContentService
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$fieldTypeProcessorRegistry eZ\Publish\Core\REST\Common\FieldTypeProcessorRegistry
$fieldTypeService eZ\Publish\API\Repository\FieldTypeService

Открытые методы

Метод Описание
__construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, eZ\Publish\API\Repository\FieldTypeService $fieldTypeService, FieldTypeProcessorRegistry $fieldTypeProcessorRegistry )
parseFieldSettings ( string $fieldTypeIdentifier, mixed $settingsHash ) : mixed Parses the given $settingsHash using the FieldType identified by $fieldTypeIdentifier.
parseFieldValue ( string $contentInfoId, string $fieldDefIdentifier, mixed $value ) : mixed Parses the given $value for the field $fieldDefIdentifier in the content identified by $contentInfoId.
parseValidatorConfiguration ( string $fieldTypeIdentifier, mixed $configurationHash ) : mixed Parses the given $configurationHash using the FieldType identified by $fieldTypeIdentifier.
parseValue ( mixed $fieldTypeIdentifier, mixed $value ) : mixed Parses the given $value using the FieldType identified by $fieldTypeIdentifier.

Описание методов

__construct() публичный Метод

public __construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\ContentTypeService $contentTypeService, eZ\Publish\API\Repository\FieldTypeService $fieldTypeService, FieldTypeProcessorRegistry $fieldTypeProcessorRegistry )
$contentService eZ\Publish\API\Repository\ContentService
$contentTypeService eZ\Publish\API\Repository\ContentTypeService
$fieldTypeService eZ\Publish\API\Repository\FieldTypeService
$fieldTypeProcessorRegistry eZ\Publish\Core\REST\Common\FieldTypeProcessorRegistry

parseFieldSettings() публичный Метод

Parses the given $settingsHash using the FieldType identified by $fieldTypeIdentifier.
public parseFieldSettings ( string $fieldTypeIdentifier, mixed $settingsHash ) : mixed
$fieldTypeIdentifier string
$settingsHash mixed
Результат mixed

parseFieldValue() публичный Метод

Parses the given $value for the field $fieldDefIdentifier in the content identified by $contentInfoId.
public parseFieldValue ( string $contentInfoId, string $fieldDefIdentifier, mixed $value ) : mixed
$contentInfoId string
$fieldDefIdentifier string
$value mixed
Результат mixed

parseValidatorConfiguration() публичный Метод

Parses the given $configurationHash using the FieldType identified by $fieldTypeIdentifier.
public parseValidatorConfiguration ( string $fieldTypeIdentifier, mixed $configurationHash ) : mixed
$fieldTypeIdentifier string
$configurationHash mixed
Результат mixed

parseValue() публичный Метод

Parses the given $value using the FieldType identified by $fieldTypeIdentifier.
public parseValue ( mixed $fieldTypeIdentifier, mixed $value ) : mixed
$fieldTypeIdentifier mixed
$value mixed
Результат mixed

Описание свойств

$contentService защищенное свойство

protected ContentService,eZ\Publish\API\Repository $contentService
Результат eZ\Publish\API\Repository\ContentService

$contentTypeService защищенное свойство

protected ContentTypeService,eZ\Publish\API\Repository $contentTypeService
Результат eZ\Publish\API\Repository\ContentTypeService

$fieldTypeProcessorRegistry защищенное свойство

protected FieldTypeProcessorRegistry,eZ\Publish\Core\REST\Common $fieldTypeProcessorRegistry
Результат eZ\Publish\Core\REST\Common\FieldTypeProcessorRegistry

$fieldTypeService защищенное свойство

protected FieldTypeService,eZ\Publish\API\Repository $fieldTypeService
Результат eZ\Publish\API\Repository\FieldTypeService