eZPublishCommunityProject  2013.6
eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation Class Reference

RestRelation value object visitor. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation:
+ Collaboration diagram for eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation:

Public Member Functions

 visit (Visitor $visitor, Generator $generator, $data)
 Visit struct returned by controllers. More...
 
- Public Member Functions inherited from eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
 __construct (UrlHandler $urlHandler)
 Construct from used URL handler. More...
 
 visit (Visitor $visitor, Generator $generator, $data)
 Visit struct returned by controllers. More...
 

Protected Member Functions

 getRelationTypeString ($relationType)
 Returns $relationType as a readable string. More...
 
- Protected Member Functions inherited from eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
 serializeBool ($boolValue)
 Returns a string representation for the given $boolValue. More...
 
 serializeSortField ($sortField)
 Serializes the given $sortField to a string representation. More...
 
 serializeSortOrder ($sortOrder)
 Serializes the given $sortOrder to a string representation. More...
 
 visitDescriptionsList (Generator $generator, array $descriptions)
 Visits the given list of $descriptions. More...
 
 visitLimitation (Generator $generator, Limitation $limitation)
 Visits a limitation. More...
 
 visitNamesList (Generator $generator, array $names)
 Visits the given list of $names. More...
 
 visitTranslatedList (Generator $generator, array $translatedElements, $listName)
 Visits a list of translated elements. More...
 

Additional Inherited Members

- Protected Attributes inherited from eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
 $urlHandler
 

Detailed Description

RestRelation value object visitor.

Member Function Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation::getRelationTypeString (   $relationType)
protected

Returns $relationType as a readable string.

Parameters
int$relationType
Returns
string

Referenced by eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation\visit().

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestRelation::visit ( Visitor  $visitor,
Generator  $generator,
  $data 
)

Visit struct returned by controllers.

Parameters
\eZ\Publish\Core\REST\Common\Output\Visitor$visitor
\eZ\Publish\Core\REST\Common\Output\Generator$generator
\eZ\Publish\Core\REST\Server\Values\RestRelation$data

The documentation for this class was generated from the following file: