PHP 클래스 eZ\Publish\Core\REST\Client\Input\Parser\Content

상속: extends eZ\Publish\Core\REST\Common\Input\BaseParser
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 프로퍼티들

프로퍼티 타입 설명
$contentService eZ\Publish\API\Repository\ContentService
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools
$versionInfoParser VersionInfo VersionInfo parser.

공개 메소드들

메소드 설명
__construct ( ParserTools $parserTools, eZ\Publish\API\Repository\ContentService $contentService, VersionInfo $versionInfoParser, FieldTypeParser $fieldTypeParser )
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\Content Parse input structure.

보호된 메소드들

메소드 설명
parseFields ( array $rawFieldsData, string $contentId ) : eZ\Publish\API\Repository\Values\Content\Field[] Parses the fields from the given $rawFieldsData.

메소드 상세

__construct() 공개 메소드

public __construct ( ParserTools $parserTools, eZ\Publish\API\Repository\ContentService $contentService, VersionInfo $versionInfoParser, FieldTypeParser $fieldTypeParser )
$parserTools eZ\Publish\Core\REST\Common\Input\ParserTools
$contentService eZ\Publish\API\Repository\ContentService
$versionInfoParser VersionInfo
$fieldTypeParser eZ\Publish\Core\REST\Common\Input\FieldTypeParser

parse() 공개 메소드

Parse input structure.
public parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Content\Content
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
리턴 eZ\Publish\API\Repository\Values\Content\Content

parseFields() 보호된 메소드

Parses the fields from the given $rawFieldsData.
protected parseFields ( array $rawFieldsData, string $contentId ) : eZ\Publish\API\Repository\Values\Content\Field[]
$rawFieldsData array
$contentId string
리턴 eZ\Publish\API\Repository\Values\Content\Field[]

프로퍼티 상세

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

protected ContentService,eZ\Publish\API\Repository $contentService
리턴 eZ\Publish\API\Repository\ContentService

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

protected FieldTypeParser,eZ\Publish\Core\REST\Common\Input $fieldTypeParser
리턴 eZ\Publish\Core\REST\Common\Input\FieldTypeParser

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

protected ParserTools,eZ\Publish\Core\REST\Common\Input $parserTools
리턴 eZ\Publish\Core\REST\Common\Input\ParserTools

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

VersionInfo parser.
protected VersionInfo,eZ\Publish\Core\REST\Client\Input\Parser $versionInfoParser
리턴 VersionInfo