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

VersionInfo value object visitor. More...

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

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

 getStatusString ($status)
 Maps the given version $status to a representative 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

VersionInfo value object visitor.

Member Function Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\VersionInfo::getStatusString (   $status)
protected

Maps the given version $status to a representative string.

Parameters
int$status
Returns
string

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

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\VersionInfo::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\API\Repository\Values\Content\VersionInfo$data

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