Line 51... |
Line 51... |
*/
|
*/
|
public static function fromNodeID( $nodeID )
|
public static function fromNodeID( $nodeID )
|
{
|
{
|
$node = eZContentObjectTreeNode::fetch( $nodeID );
|
$node = eZContentObjectTreeNode::fetch( $nodeID );
|
if ( !$node instanceof eZContentObjectTreeNode )
|
if ( !$node instanceof eZContentObjectTreeNode )
|
throw new SQLILocationException( "Unable to find eZContentObjectTreeNode with NodeID #$this->nodeID" );
|
throw new SQLILocationException( "Unable to find eZContentObjectTreeNode with NodeID #$nodeID" );
|
|
|
$location = self::fromNode( $node );
|
$location = self::fromNode( $node );
|
return $location;
|
return $location;
|
}
|
}
|
|
|