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

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

Protected Properties

Property Type Description
$fieldTypeSerializer eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer

Public Methods

Method Description
__construct ( FieldTypeSerializer $fieldTypeSerializer )
visit ( Visitor $visitor, Generator $generator, Version $data ) Visit struct returned by controllers.
visitField ( Generator $generator, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, eZ\Publish\API\Repository\Values\Content\Field $field ) Visits a single content field and generates its content.

Method Details

__construct() public method

public __construct ( FieldTypeSerializer $fieldTypeSerializer )
$fieldTypeSerializer eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer

visit() public method

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

visitField() public method

Visits a single content field and generates its content.
public visitField ( Generator $generator, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, eZ\Publish\API\Repository\Values\Content\Field $field )
$generator eZ\Publish\Core\REST\Common\Output\Generator
$contentType eZ\Publish\API\Repository\Values\ContentType\ContentType
$field eZ\Publish\API\Repository\Values\Content\Field

Property Details

$fieldTypeSerializer protected property

protected FieldTypeSerializer,eZ\Publish\Core\REST\Common\Output $fieldTypeSerializer
return eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer