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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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