Forums / Developer / Helper classes? / Comment45091
Yelitza Jaramillo
Thursday 05 January 2006 7:07:28 am
Hei Kristofer,
To store data in an ezselection datatype try this linkhttp://ez.no/community/forum/developer/storing_content_in_an_ezselection_attribute
To retrieve data
$object_data_map = $target_object->attribute( 'data_map' ); // this returns an array $aproved_by = $object_data_map[ 'aproved_by' ]->content(); //this will return the option number if the datatype is an ezselection