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

Inheritance: extends eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor
Show file Open project: ezsystems/ezpublish-kernel

Protected Methods

Method Description
getUrlTypeSuffix ( integer $contentTypeStatus ) : string Returns a suffix for the URL type to generate on basis of the given $contentTypeStatus.
serializeStatus ( integer $contentTypeStatus ) : string Serializes the given $contentTypeStatus to a string representation.

Method Details

getUrlTypeSuffix() protected method

Returns a suffix for the URL type to generate on basis of the given $contentTypeStatus.
protected getUrlTypeSuffix ( integer $contentTypeStatus ) : string
$contentTypeStatus integer
return string

serializeStatus() protected method

Serializes the given $contentTypeStatus to a string representation.
protected serializeStatus ( integer $contentTypeStatus ) : string
$contentTypeStatus integer
return string