eZ Community » Forums » Developer » Fetch Attribute Filtre
expandshrink

Fetch Attribute Filtre

Fetch Attribute Filtre

Monday 05 September 2011 1:04:13 pm - 1 reply

Hi,

I'm doing a fetch PHP side, I use

 $objects =& eZContentObjectTreeNode::subTreeByNodeID(  array(
            'ClassFilterType' => 'include',
            'ClassFilterArray' => array( 'article' ),
            'Limit' => '5',
            'AttributeFilter' => array(
                                    array('article/file','!=','0')
                   
                )
            ),
            109
        );

 

The problem is that it is impossible to fetche on an attribute of type file

 

 

 

Any Idea ???

 

 

Merci

Monday 05 September 2011 6:31:01 pm

Hi Amine,

Try to use an extended attribute filter, see this link for mor detail : http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Modules/content/Fetch-functions/list

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from