kernel/classes/ezcontentobjecttreenode.php
static function fetchList( $asObject = true, $offset = false, $limit = false )
    {
        $sql = "SELECT * FROM ezcontentobject_tree";
        $parameters = array();
        if ( $offset !== false )
            $parameters['offset'] = $offset;
        if ( $limit !== false )
            $parameters['limit'] = $limit;
        $db = eZDB::instance();
        $rows = $db->arrayQuery( $sql, $parameters );
        $nodes = array();
        if ( $asObject )
        {
            foreach ( $rows as $row )
            {
                $nodes[] = new eZContentObjectTreeNode( $row );
            }
            return $nodes;
        }
        else
            return $rows;
    }
static function fetchList( $asObject = true, $offset = false, $limit = false )
    {
        $sql = "SELECT * FROM ezcontentobject_tree";
        $parameters = array();
        if ( $offset !== false )
            $parameters['offset'] = $offset;
        if ( $limit !== false )
            $parameters['limit'] = $limit;
        $db = eZDB::instance();
        $rows = $db->arrayQuery( $sql, $parameters );
        $nodes = array();
        if ( $asObject )
        {
            foreach ( $rows as $row )
            {
                $nodes[] = new eZContentObjectTreeNode( $row );
            }
            return $nodes;
        }
        else
            return $rows;
    }
static function fetchList ( $ asObject = true , $ offset = false , $ limit = false ) { $ sql = "SELECT * FROM ezcontentobject_tree" ; $ parameters = array ( ) ; if ( $ offset !== false ) $ parameters [ 'offset' ] = $ offset ; if ( $ limit !== false ) $ parameters [ 'limit' ] = $ limit ; $ db = eZDB :: instance ( ) ; $ rows = $ db -> arrayQuery ( $ sql , $ parameters ) ; $ nodes = array ( ) ; if ( $ asObject ) { foreach ( $ rows as $ row ) { $ nodes [ ] = new eZContentObjectTreeNode ( $ row ) ; } return $ nodes ; } else return $ rows ; }
Fetches a list of nodes and returns it. Offset and limitation can be set if needed.

@param bool $asObject
@param int|bool $offset
@param int|bool $limit
@return eZContentObjectTreeNode[]
Fetches a list of nodes and returns it . Offset and limitation can be set if needed .