eZPublishCommunityProject  2013.5
eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version Class Reference

Version value object visitor. More...

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

Public Member Functions

 __construct (UrlHandler $urlHandler, FieldTypeSerializer $fieldTypeSerializer)
 
 visit (Visitor $visitor, Generator $generator, $data)
 Visit struct returned by controllers. More...
 
 visitField (Generator $generator, ContentType $contentType, Field $field)
 Visits a single content field and generates its content. 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 Attributes

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

Additional Inherited Members

- 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...
 

Detailed Description

Version value object visitor.

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version::__construct ( UrlHandler  $urlHandler,
FieldTypeSerializer  $fieldTypeSerializer 
)
Parameters
\eZ\Publish\Core\REST\Common\UrlHandler$urlHandler
\eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer$fieldTypeSerializer

Member Function Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version::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\Version$data
eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version::visitField ( Generator  $generator,
ContentType  $contentType,
Field  $field 
)

Visits a single content field and generates its content.

Parameters
\eZ\Publish\Core\REST\Common\Output\Generator$generator
\eZ\Publish\API\Repository\Values\ContentType\ContentType$contentType
\eZ\Publish\API\Repository\Values\Content\Field$field

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

Member Data Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\Version::$fieldTypeSerializer
protected

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