Forums / Developer / How are object names generated?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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