eZ Publish Community Project (Legacy Stack) 2013.4
Class

ezpContentLocation

class ezpContentLocation extends ezpLocation

This class is used to manipulate a specific content location.

It currently acts among others as a wrapper around eZContentObjectTreeNode, and therefore exposes some of

Properties

node_id $ZContentObjectTreeNode node_ideZContentObjectTreeNode

Methods

static ezpContentLocation fetchByNodeId(int $nodeId)

Returns the ezpContentLocation object for a particular node by ID

static ezpContentLocation fromNode(eZContentObjectTreeNode $node)

Returns the ezpContentLocation object for a particular node object

__get($property)

Wrapper for node attributes

Details

at line 28
static public ezpContentLocation fetchByNodeId(int $nodeId)

Returns the ezpContentLocation object for a particular node by ID

Parameters

int $nodeId

Return Value

ezpContentLocation

Exceptions

ezcBaseException When the node is not found

at line 47
static public ezpContentLocation fromNode(eZContentObjectTreeNode $node)

Returns the ezpContentLocation object for a particular node object

Parameters

eZContentObjectTreeNode $node

Return Value

ezpContentLocation

at line 58
public __get($property)

Wrapper for node attributes

Parameters

$property