Some functions on this portal require JavaScript but your browser does not support it or it has been disabled.
Skip to main content
Thursday 22 January 2004 7:57:05 am - 2 replies
Roy Viggo Pedersen
Monday 26 January 2004 3:51:28 am
Hi,
It should be as simple as:
$mainNodeID = $object->attribute( 'main_node_id' );
But I guess you have tried that, and $mainNodeID is still empty? What about $object? Are you sure it is defined?
Roy
Eirik Alfstad Johansen
Thursday 29 January 2004 1:07:36 am
Hi Roy,
Actually, I hadn't, and it worked. For debugging purposes, I was using the PHP function get_object_vars() which showed the MainNodeID as emtpy, but accessing it using the attribute method worked like a charm.
Thanks !
Sincerely,
Eirik Johansen
Sincerely, Eirik Alfstad Johansen http://www.netmaking.no/
You must be logged in to post messages in this topic!