is this a safe Fetch of nodes from a node id array ?

Author Message

Lazaro Ferreira

Monday 18 October 2004 11:05:41 am

Hi,

Can we fetch a list of nodes from a node's id array, within ezp tpl files ?
( I mean using some sort of fetch tpl operator )

Case not, is it safe fetching it like this :

// $select_result_array :  is a php array of node ids

for( $i=0; $i<count($select_result_array); $i++){
		$select_result[$i] =& eZContentObjectTreeNode::fetch( $select_result_array[$i] );

}

Lazaro
http://www.mzbusiness.com

Lazaro Ferreira

Tuesday 19 October 2004 9:00:00 am

Any ideia ?

Thanks

Lazaro
http://www.mzbusiness.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.