Forums / Developer / How are object names generated?

How are object names generated?

Author Message

Gabriel Ambuehl

Saturday 12 February 2005 6:01:16 am

I have some code that will update attributes in an object. That now works (sure took me long enough ;-). However, it currently doesn't update the name of the object, that only happens when I edit and save the object after changing it in my code.

I suppose I could change contentobject->name, but I can't figure out how to generate the name (after all, there's this handy field in the class where you can define how names get generated, so I don't want to build my own hack)...

Visit http://triligon.org

Gabriel Ambuehl

Saturday 12 February 2005 6:10:14 am

I guess I figured it out. It's done by
eZContentClass::contentObjectName

Visit http://triligon.org