Sunday 01 June 2003 8:21:40 pm - 1 reply
Modified on Sunday 01 June 2003 8:32:26 pm by Rib Rdb
Rib Rdb
Sunday 01 June 2003 9:28:06 pm
Well, I got what I asked for. Here's the modified code that works, if anyone else is trying this:
$attributes = $version->contentObjectAttributes(); $attribute = $attributes[0]; $enum = $attribute->content(); $enumobjectList = $enum->attribute('enumobject_list'); $enumobjectList[0] =& eZEnumObjectValue::create( $attribute->attribute('id'), $attribute->attribute('version'), $ids[$Rating], $elements[$Rating], $values[$Rating]);$enumobjectList[0]->store();
You must be logged in to post messages in this topic!