PHP Class eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\VersionInfo

Inheritance: extends eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
显示文件 Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
visit ( Visitor $visitor, Generator $generator, eZ\Publish\API\Repository\Values\Content\VersionInfo $data ) Visit struct returned by controllers.

Protected Methods

Method Description
getStatusString ( integer $status ) : string Maps the given version $status to a representative string.

Method Details

getStatusString() protected method

Maps the given version $status to a representative string.
protected getStatusString ( integer $status ) : string
$status integer
return string

visit() public method

Visit struct returned by controllers.
public visit ( Visitor $visitor, Generator $generator, eZ\Publish\API\Repository\Values\Content\VersionInfo $data )
$visitor eZ\Publish\Core\REST\Common\Output\Visitor
$generator eZ\Publish\Core\REST\Common\Output\Generator
$data eZ\Publish\API\Repository\Values\Content\VersionInfo