PHP 클래스 eZ\Publish\Core\REST\Common\Input\FieldTypeParser

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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