This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » How to use ExtendedAttributeFilter in...
expandshrink

How to use ExtendedAttributeFilter in php to fetch a related data?

How to use ExtendedAttributeFilter in php to fetch a related data?

Friday 21 December 2012 12:42:53 pm

hi,

Can you tell me how to fetch a data with ExtendedAttributeFilter in php side?

see below my code is that correct or anything required or missing or worng in that.

    $params = array(

                            'Depth' => 1,
                            'Language' => array('chi-CN'),
                            'ClassFilterType' => 'include',
                            'ClassFilterArray' => array('article'),
                            'SortBy' => array('published', false),
                            'ExtendedAttributeFilter' => array('id'=>'eorfilter', 'params'=>array('article/speciality' => $content_objectid )),
            );

do someone have an other solution?
thanks.

 

No reply yet!

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from