kernel/private/api/content/location.php

Show: inherited
Table of Contents

File containing the ezpContentLocation class

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
API  
Version
4.6.0  

\ezpContentLocation

Package: API

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

Parent(s)
\ezpLocation

Properties

Propertypublic\node_id  = ''

eZContentObjectTreeNode

eZContentObjectTreeNode
Details
Type
\node_id
Magic
 
Property
eZContentObjectTreeNode  
Propertyprotected  $node= ''
Details
Type
n/a
Propertyprotected  $validNodeAttributes= 'array( 'node_id', 'path_string', 'name', 'url_alias', 'is_main', 'remote_id' )'
static
Default valuearray( 'node_id', 'path_string', 'name', 'url_alias', 'is_main', 'remote_id' )Details
Type
n/a

Methods

methodpublic__get(  $property ) : void

Wrapper for node attributes

Parameters
Name Type Description
$property
methodpublicfetchByNodeId( int $nodeId ) : \ezpContentLocation
static

Returns the ezpContentLocation object for a particular node by ID

Parameters
Name Type Description
$nodeId int
Returns
Type Description
\ezpContentLocation
Throws
Exception Description
\ezcBaseException When the node is not found
methodpublicfromNode( \eZContentObjectTreeNode $node ) : \ezpContentLocation
static

Returns the ezpContentLocation object for a particular node object

Parameters
Name Type Description
$node \eZContentObjectTreeNode
Returns
Type Description
\ezpContentLocation
Documentation was generated by DocBlox 0.18.1.