Friday 09 December 2005 12:56:46 am
Hi. I'm working in a extension now. in the extension i want to get information about the creator of a node. So i write some code in a .php
$nodoid=$HTTP_POST_VARS["ContentNodeID"];
$node = & eZContentObject::fetchByNodeID ($nodoid, $asObject = true) ;
$owner_id=$node->attribute("owner_id");
$user = & ezUser::fetch($owner_id,$asObject=true);
So i have the user object, but how can i get the name and other data relative to user? thanks a lot.
|