PHP Class eZ\Publish\Core\REST\Client\Output\ValueObjectVisitor\LocationCreateStruct

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

Méthodes publiques

Méthode Description
__construct ( eZ\Publish\API\Repository\LocationService $locationService )
visit ( Visitor $visitor, Generator $generator, eZ\Publish\API\Repository\Values\Content\LocationCreateStruct $data ) Visit struct returned by controllers.

Méthodes protégées

Méthode Description
getSortFieldName ( integer $sortField ) : string Returns the '*' part of SORT_FIELD_* constant name.

Private Methods

Méthode Description
addParentLocationHref ( Generator $generator, $parentLocationId )

Method Details

__construct() public méthode

public __construct ( eZ\Publish\API\Repository\LocationService $locationService )
$locationService eZ\Publish\API\Repository\LocationService

getSortFieldName() protected méthode

Returns the '*' part of SORT_FIELD_* constant name.
protected getSortFieldName ( integer $sortField ) : string
$sortField integer
Résultat string

visit() public méthode

Visit struct returned by controllers.
public visit ( Visitor $visitor, Generator $generator, eZ\Publish\API\Repository\Values\Content\LocationCreateStruct $data )
$visitor eZ\Publish\Core\REST\Common\Output\Visitor
$generator eZ\Publish\Core\REST\Common\Output\Generator
$data eZ\Publish\API\Repository\Values\Content\LocationCreateStruct