Wednesday 28 September 2005 2:13:28 am
Hey all, I have the following situation: a contentobject myUser has normal UserClass attributes, but it has an aditional 'old_id' as attribute. I'd like to know how to make a function:
function getUser($oldId){
//implementation goes here
return $newID
}
I think i need to use eZPersistentObject::fetchObject, although I'm not sure about this, can someone please help me?
Thanks a lot! Clemens
|