Author Topic

Lazaro Ferreira

Friday 19 November 2004 10:09:24 am

Comment41823

Hi,

I just can confirm you that a code like this works perfectly here :


$attribute_filter = array( array( 330,'=', $myvalue ) );   
							
$matchingObjectList = array();

$matchingObjectList =& eZContentFunctionCollection::fetchObjectTree( 
                                                                     $parentNodeID, $sortBy, $offset, $limit, 
                                                                     $depth, $depthOperator,
                               		                       $classID, $attribute_filter, 
							     $extended_attribute_filter, $class_filter_type, 
							     $class_filter_array,
                                    $groupBy, $mainNodeOnly, $asObject );

Of course every variable was properly set before

The only difference we got is that we use php

::

operator instead of creating a new instance of eZContentFunctionCollection, but this couldn't be a problem

Lazaro
http://www.mzbusiness.com