Forums / Developer / coding fetch in PHP / Comment50048

Author Topic

anne martinet

Friday 22 August 2008 2:20:02 am

Comment50048

Thanks,

I have again difficulties to read API, and to find interesting functions.

I code your answer :

$v=eZContentObjectTreeNode::subTreeByNodeID(
        array(  'ClassFilterType' => 'include',
                'ClassFilterArray' => array('video_flash_mm'),
                'Depth' => 1,
                'DepthOperator' => 'eq'),
        365
);

foreach ( $v as $o )
{
        echo $o->attribute('name')." --- et son etat ".$dm['etat_ezstring']."<br/>";
}

But I don't see the string for $dm['etat_ezstring'], I see this : Object id #47
How can I see this content???

thanks