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

Base for RestContentType related value object visitors. More...

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

Protected Member Functions

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

Additional Inherited Members

- 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 inherited from eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
 $urlHandler
 

Detailed Description

Base for RestContentType related value object visitors.

Member Function Documentation

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestContentTypeBase::getUrlTypeSuffix (   $contentTypeStatus)
protected

Returns a suffix for the URL type to generate on basis of the given $contentTypeStatus.

Parameters
int$contentTypeStatus
Returns
string

Referenced by eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\FieldDefinitionList\visit(), eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestContentType\visit(), and eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestFieldDefinition\visit().

eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestContentTypeBase::serializeStatus (   $contentTypeStatus)
protected

Serializes the given $contentTypeStatus to a string representation.

Parameters
int$contentTypeStatus
Returns
string

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


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