PHP Class eZ\Publish\Core\REST\Server\Values\Version

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

Public Properties

Property Type Description
$content eZ\Publish\API\Repository\Values\Content\Content
$contentType eZ\Publish\API\Repository\Values\ContentType\ContentType
$path string Path used to load this content.
$relations eZ\Publish\API\Repository\Values\Content\Relation[]

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\Values\Content\Content $content, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, array $relations, string $path = null ) Construct.

Method Details

__construct() public method

Construct.
public __construct ( eZ\Publish\API\Repository\Values\Content\Content $content, eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType, array $relations, string $path = null )
$content eZ\Publish\API\Repository\Values\Content\Content
$contentType eZ\Publish\API\Repository\Values\ContentType\ContentType
$relations array
$path string

Property Details

$content public property

public Content,eZ\Publish\API\Repository\Values\Content $content
return eZ\Publish\API\Repository\Values\Content\Content

$contentType public property

public ContentType,eZ\Publish\API\Repository\Values\ContentType $contentType
return eZ\Publish\API\Repository\Values\ContentType\ContentType

$path public property

Path used to load this content.
public string $path
return string

$relations public property

public Relation[],eZ\Publish\API\Repository\Values\Content $relations
return eZ\Publish\API\Repository\Values\Content\Relation[]