eZPublishCommunityProject  2013.6
eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo Class Reference

Parser for VersionInfo. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo:
+ Collaboration diagram for eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo:

Public Member Functions

 __construct (ParserTools $parserTools, ContentService $contentService)
 
 parse (array $data, ParsingDispatcher $parsingDispatcher)
 Parse input structure. More...
 

Protected Member Functions

 convertVersionStatus ($statusString)
 Converts the given $statusString to its constant representation. More...
 

Protected Attributes

 $contentService
 
 $parserTools
 

Detailed Description

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo::__construct ( ParserTools  $parserTools,
ContentService  $contentService 
)
Parameters
\eZ\Publish\Core\REST\Common\Input\ParserTools$parserTools
\eZ\Publish\Core\REST\Client\ContentService$contentService

Member Function Documentation

eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo::convertVersionStatus (   $statusString)
protected

Converts the given $statusString to its constant representation.

Parameters
string$statusString
Returns
int

Referenced by eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo\parse().

eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo::parse ( array  $data,
ParsingDispatcher  $parsingDispatcher 
)

Parse input structure.

Parameters
array$data
\eZ\Publish\Core\REST\Common\Input\ParsingDispatcher$parsingDispatcher
Todo:
Error handling
Returns

Member Data Documentation

eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo::$contentService
protected
eZ\Publish\Core\REST\Client\Input\Parser\VersionInfo::$parserTools
protected

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