kernel/private/api/content/content.php
public static function fromNodeId( $nodeId, $checkAccess = true )
    {
        $node = eZContentObjectTreeNode::fetch( $nodeId );
        if ( $node instanceof eZContentObjectTreeNode )
            return self::fromNode( $node, $checkAccess );
        else
            throw new ezpContentNotFoundException( "Unable to find node with ID $nodeId" );
    }
public static function fromNodeId( $nodeId, $checkAccess = true )
    {
        $node = eZContentObjectTreeNode::fetch( $nodeId );
        if ( $node instanceof eZContentObjectTreeNode )
            return self::fromNode( $node, $checkAccess );
        else
            throw new ezpContentNotFoundException( "Unable to find node with ID $nodeId" );
    }
public static function fromNodeId ( $ nodeId , $ checkAccess = true ) { $ node = eZContentObjectTreeNode :: fetch ( $ nodeId ) ; if ( $ node instanceof eZContentObjectTreeNode ) return self :: fromNode ( $ node , $ checkAccess ) ; else throw new ezpContentNotFoundException ( "Unable to find node with ID $nodeId" ) ; }
Instanciates an ezpContent from an eZContentObjectTreenode Id
@param int $nodeId
@return ezpContent
Instanciates an ezpContent from an eZContentObjectTreenode Id