public function ezodfGetNodeInfo( $getParams, $getOptions, $postParams, $postOptions )
    {
        $nodeID = $getParams['nodeID'];
        $languageCode = $getOptions['languageCode'];

        $domDocument = new DOMDocument( '1.0', 'utf-8' );

        $node = eZContentObjectTreeNode::fetch( $nodeID, $languageCode );

        if ( !$node )
        {
            throw new Exception( 'Could not fetch node: ' . $nodeID );
        }

        return $this->createTreeNodeDOMElement( $domDocument, $node );
    }
public function ezodfGetNodeInfo( $getParams, $getOptions, $postParams, $postOptions )
    {
        $nodeID = $getParams['nodeID'];
        $languageCode = $getOptions['languageCode'];

        $domDocument = new DOMDocument( '1.0', 'utf-8' );

        $node = eZContentObjectTreeNode::fetch( $nodeID, $languageCode );

        if ( !$node )
        {
            throw new Exception( 'Could not fetch node: ' . $nodeID );
        }

        return $this->createTreeNodeDOMElement( $domDocument, $node );
    }
public function ezodfGetNodeInfo ( $ getParams , $ getOptions , $ postParams , $ postOptions ) { $ nodeID = $ getParams [ 'nodeID' ] ; $ languageCode = $ getOptions [ 'languageCode' ] ; $ domDocument = new DOMDocument ( '1.0' , 'utf-8' ) ; $ node = eZContentObjectTreeNode :: fetch ( $ nodeID , $ languageCode ) ; if ( ! $ node ) { throw new Exception ( 'Could not fetch node: ' . $ nodeID ) ; } return $ this -> createTreeNodeDOMElement ( $ domDocument , $ node ) ; }
Get eZContentObjectTreeNode information

@param Array getParameters.
@param Array getOptions.
@param Array postParameters.
@param Array postOptions.

@return DOMElement DOMElement containing node information. Return format:

<Node nodeID="123" parentID="120">
<Object ID="153" sectionID="2" mainNodeID="123" initialLanguage="eng-GB" published="123213412" modified="1251231542">
<Class ID="12" primaryLanguage="eng-GB">
<NameList>
<Name locale="eng-GB">eZ Publish rocks</Name>
</NameList>
</Class>
<NameList>
<Name locale="eng-GB">eZ Publish rocks</Name>
<Name locale="nor-NO">eZ Publish rokker</Name>
</NameList>
<Owner objectID="135" primaryLanguage="nor-NO">
<NameList>
<Name locale="nor-NO">Balle Klorin</Name>
</NameList>
</Owner>
</Object>
<AccessRights canRead="1" canCreate="1" canEdit="0" />
</Node>
Get eZContentObjectTreeNode information