eZPublish(LegacyStack)  5.1
ezpContentLocation Class Reference
+ Inheritance diagram for ezpContentLocation:
+ Collaboration diagram for ezpContentLocation:

Public Member Functions

 __get ($property)
 Wrapper for node attributes. More...
 

Static Public Member Functions

static fetchByNodeId ($nodeId)
 Returns the ezpContentLocation object for a particular node by ID. More...
 
static fromNode (eZContentObjectTreeNode $node)
 Returns the ezpContentLocation object for a particular node object. More...
 

Protected Attributes

 $node
 

Static Protected Attributes

static $validNodeAttributes = array( 'node_id', 'path_string', 'name', 'url_alias', 'is_main', 'remote_id' )
 

Member Function Documentation

ezpContentLocation::__get (   $property)

Wrapper for node attributes.

static ezpContentLocation::fetchByNodeId (   $nodeId)
static

Returns the ezpContentLocation object for a particular node by ID.

Parameters
int$nodeId
Returns
ezpContentLocation
Exceptions
ezcBaseExceptionWhen the node is not found
static ezpContentLocation::fromNode ( eZContentObjectTreeNode  $node)
static

Returns the ezpContentLocation object for a particular node object.

Parameters
eZContentObjectTreeNode$node
Returns
ezpContentLocation

Referenced by ezpContent\fromNode().

Member Data Documentation

ezpContentLocation::$node
protected

Referenced by fetchByNodeId(), and fromNode().

ezpContentLocation::$validNodeAttributes = array( 'node_id', 'path_string', 'name', 'url_alias', 'is_main', 'remote_id' )
staticprotected

The documentation for this class was generated from the following file: