kernel/private/api/content/repository.php
public static function query( ezpContentCriteria $criteria )
    {
        $fetchParams = self::translateFetchParams( $criteria );
        $nodes = eZContentObjectTreeNode::subTreeByNodeID( $fetchParams->params, $fetchParams->rootNodeId );
        $return = array();
        foreach( $nodes as $node )
        {
            $return[] = ezpContent::fromNode( $node );
        }
        return $return;
    }
public static function query( ezpContentCriteria $criteria )
    {
        $fetchParams = self::translateFetchParams( $criteria );
        $nodes = eZContentObjectTreeNode::subTreeByNodeID( $fetchParams->params, $fetchParams->rootNodeId );
        $return = array();
        foreach( $nodes as $node )
        {
            $return[] = ezpContent::fromNode( $node );
        }
        return $return;
    }
public static function query ( ezpContentCriteria $ criteria ) { $ fetchParams = self :: translateFetchParams ( $ criteria ) ; $ nodes = eZContentObjectTreeNode :: subTreeByNodeID ( $ fetchParams -> params , $ fetchParams -> rootNodeId ) ; $ return = array ( ) ; foreach ( $ nodes as $ node ) { $ return [ ] = ezpContent :: fromNode ( $ node ) ; } return $ return ; }
Runs a content repository query using a given set of criteria

@param ezpContentCriteria $criteria
@return ezpContentList
Runs a content repository query using a given set of criteria