eZPublishCommunityProject  2013.4
eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestFieldDefinition Class Reference

RestFieldDefinition value object visitor. More...

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

Public Member Functions

 __construct (UrlHandler $urlHandler, FieldTypeSerializer $fieldTypeSerializer)
 
 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 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\Server\Output\ValueObjectVisitor\RestContentTypeBase
 getUrlTypeSuffix ($contentTypeStatus)
 Returns a suffix for the URL type to generate on basis of the given $contentTypeStatus. More...
 
 serializeStatus ($contentTypeStatus)
 Serializes the given $contentTypeStatus to a string representation. 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...
 

Detailed Description

RestFieldDefinition value object visitor.

Todo:
$fieldSettings & $validatorConfiguration (missing from spec)

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestFieldDefinition::__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\RestFieldDefinition::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\RestFieldDefinition$data

Member Data Documentation

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

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