Author Topic

Marko Žmak

Thursday 05 May 2011 12:28:42 am

Comment67736

For such a simple task as changing one attribute of an object, you don't need to extend the eZPersistentObject class. What you need is basically this:

  • get both object ID and attribute ID as a module parameter
  • fetch the object using the static fetch function of eZContentObject class
  • change the attribute and store it
  • sroe or publish the object

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth