PHP Class eZ\Publish\Core\Repository\Values\Content\Location

Inheritance: extends eZ\Publish\API\Repository\Values\Content\Location
Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Protected Properties

Property Type Description
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo Content info of the content object of this location.
$path array

Public Methods

Method Description
__get ( string $property ) : mixed Magic getter for retrieving convenience properties.
__isset ( string $property ) : boolean Magic isset for signaling existence of convenience properties.
getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo Returns the content info of the content object of this location.

Protected Methods

Method Description
getProperties ( array $dynamicProperties = ['contentId'] ) : array Function where list of properties are returned.

Method Details

__get() public method

Magic getter for retrieving convenience properties.
public __get ( string $property ) : mixed
$property string The name of the property to retrieve
return mixed

__isset() public method

Magic isset for signaling existence of convenience properties.
public __isset ( string $property ) : boolean
$property string
return boolean

getContentInfo() public method

Returns the content info of the content object of this location.
public getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
return eZ\Publish\API\Repository\Values\Content\ContentInfo

getProperties() protected method

Override to add dynamic properties
protected getProperties ( array $dynamicProperties = ['contentId'] ) : array
$dynamicProperties array
return array

Property Details

$contentInfo protected property

Content info of the content object of this location.
protected ContentInfo,eZ\Publish\API\Repository\Values\Content $contentInfo
return eZ\Publish\API\Repository\Values\Content\ContentInfo

$path protected property

protected array $path
return array