Share » Forums » Developer » Get attributes from related objects -...

Get attributes from related objects - php script

Get attributes from related objects - php script

Friday 27 April 2007 6:01:52 am - 1 reply

Author Message

Romain Dausset

Monday 30 April 2007 4:30:16 am

A solution :

// id de l'attribut relation
$attributeID = 398;

$relatedObjects =& $object->relatedContentObjectList( false, false, $attributeID );

foreach( $relatedObjects as $relatedObject)
{
$userID = $relatedObject->attribute('id');
}

--
Romain Dausset

rdausset@facileit.com

http://www.facileit.com

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

36 542 Users on board!

Forums menu