PHP Class eZ\Publish\Core\REST\Client\Input\Parser\Relation

Inheritance: extends eZ\Publish\Core\REST\Common\Input\BaseParser
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$contentService eZ\Publish\Core\REST\Input\ContentService Content Service.

Méthodes publiques

Méthode Description
__construct ( eZ\Publish\API\Repository\ContentService $contentService )
parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Relation\Version Parse input structure.

Méthodes protégées

Méthode Description
convertRelationType ( string $stringType ) : integer Converts the string representation of the relation type to its constant.

Method Details

__construct() public méthode

public __construct ( eZ\Publish\API\Repository\ContentService $contentService )
$contentService eZ\Publish\API\Repository\ContentService

convertRelationType() protected méthode

Converts the string representation of the relation type to its constant.
protected convertRelationType ( string $stringType ) : integer
$stringType string
Résultat integer

parse() public méthode

Parse input structure.
public parse ( array $data, ParsingDispatcher $parsingDispatcher ) : eZ\Publish\API\Repository\Values\Relation\Version
$data array
$parsingDispatcher eZ\Publish\Core\REST\Common\Input\ParsingDispatcher
Résultat eZ\Publish\API\Repository\Values\Relation\Version

Property Details

$contentService protected_oe property

Content Service.
protected ContentService,eZ\Publish\Core\REST\Input $contentService
Résultat eZ\Publish\Core\REST\Input\ContentService