Forums / Developer / Object content. / Comment47385

Author Topic

Kristian Hole

Tuesday 28 November 2006 8:25:23 am

Comment47385

It would be something like this:


forach( $my_article_list as $article )
{
     $dataMap = $article->attribute('data_map');

     // Getting the text depends on the datatype
     $titleText = $dataMap['title']->attribute('content');

     // For intro text see:
    // http://serwatka.net/en/blog/ezxmltext_how_to_store_and_ouput_your_content
}

Additional info here:
http://serwatka.net/en/blog

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute