eZ Community » Forums » Developer » Converting attributes to eZMatrix
expandshrink

Converting attributes to eZMatrix

Converting attributes to eZMatrix

Friday 19 December 2008 9:23:48 am

Hi!

Has anyone got some example code modifying every object of a certain class (via the PHP API)?

I have some author information stored in four attributes at the moment: an author list and three strings to add "position" information for the first three authors.The whole setup is rather old, and well, back then it seemed like the simplest idea blunk.gif Emoticon

Anyway, now I want to replace these attributes with a single eZMatrix, which I've already added to the class definition. The conversion scripts supplied with various eZ Publish releases seem mostly concerned with a class level attribute change, which is not necessary here - I simply need to examine each object, fill one of the attributes with information from another one and store object again.

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from