PHP Class eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation

Inheritance: extends eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
Mostra file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
visit ( Visitor $visitor, Generator $generator, RestRelation $data ) Visit struct returned by controllers.

Protected Methods

Method Description
getRelationTypeString ( integer $relationType ) : string Returns $relationType as a readable string.

Method Details

getRelationTypeString() protected method

Returns $relationType as a readable string.
protected getRelationTypeString ( integer $relationType ) : string
$relationType integer
return string

visit() public method

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