public function get_format_data_structure()
 {
     $datasource = new cms_module_item_datasource_item();
     $datas = $datasource->get_format_data_structure();
     $format_datas = array_merge($datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datasource = new cms_module_watcheslist_datasource_watches();
     $datas = $datasource->get_format_data_structure();
     $datas[0]['children'][] = array('var' => "watches[i].watch.link", 'desc' => $this->msg['cms_module_watcheslist_view_django_watch_link_desc']);
     $format_datas = array_merge($datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datas = cms_article::get_format_data_structure("article", false);
     $datas[] = array('var' => "link", 'desc' => $this->msg['cms_module_articleslist_view_carousel_link_desc']);
     $format_datas = array(array('var' => "records", 'desc' => $this->msg['cms_module_carousel_view_carousel_records_desc'], 'children' => $this->prefix_var_tree($datas, "records[i]")));
     $format_datas = array_merge($format_datas, cms_module_common_view_django::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $menu = new cms_module_menu_datasource_menu();
     $format = $menu->get_format_data_structure();
     $format[0]['children'][] = array('var' => "items[i].current", 'desc' => $this->msg['cms_module_menu_view_menu_django']);
     $format = array_merge($format, parent::get_format_data_structure());
     return $format;
 }
 public function get_format_data_structure()
 {
     $datasource = new cms_module_agenda_datasource_agenda();
     $format_data = $datasource->get_format_data_structure("eventslist");
     $format_data[0]['children'][] = array('var' => "events[i].link", 'desc' => $this->msg['cms_module_agenda_view_evenslist_link_desc']);
     $format_data[] = array('var' => "title", 'desc' => $this->msg['cms_module_agenda_view_evenslist_title_desc']);
     $format_data = array_merge($format_data, cms_module_common_view_django::get_format_data_structure());
     return $format_data;
 }
 public function get_format_data_structure()
 {
     $datasource = new cms_module_itemslist_datasource_items();
     $datas = $datasource->get_format_data_structure();
     $datas[0]['children'][] = array('var' => "items[i].item.link", 'desc' => $this->msg['cms_module_itemslist_view_django_item_link_desc']);
     $datas[0]['children'][11]['children'][] = array('var' => "items[i].item.tags[j].link", 'desc' => $this->msg['cms_module_itemslist_view_django_tag_link_desc']);
     $format_datas = array_merge($datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datasource_item = new cms_module_item_datasource_item();
     $datas = array(array('var' => "tags", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tags_desc'], 'children' => array(array('var' => "tags[i].id", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tags_id_desc']), array('var' => "tags[i].label", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tags_label_desc']), array('var' => "tags[i].items", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tags_items_desc'], 'children' => $this->prefix_var_tree(docwatch_item::get_format_data_structure(), "tags[i].items[j]")), array('var' => "tags[i].link", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tag_link_desc'])), array('var' => "items", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_items_desc'], 'children' => $this->prefix_var_tree(docwatch_item::get_format_data_structure(), "items[i]"))));
     $datas[0]['children'][2]['children'][] = array('var' => "tags[i].items[j].link", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_item_link_desc']);
     $datas[0]['children'][2]['children'][11]['children'][] = array('var' => "tags[i].items[j].tags[i].link", 'desc' => $this->msg['cms_module_itemslist_view_django_by_tags_tag_link_desc']);
     $format_datas = array_merge($datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datas = new cms_module_carousel_datasource_notices();
     $format_datas = $datas->get_format_data_structure();
     $format_datas[0]['children'][] = array('var' => "records[i].header", 'desc' => $this->msg['cms_module_common_view_record_header_desc']);
     $format_datas[0]['children'][] = array('var' => "records[i].content", 'desc' => $this->msg['cms_module_carousel_view_carousel_record_content_desc']);
     $format_datas = array_merge($format_datas, cms_module_common_view_django::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datasource = new cms_module_agenda_datasource_agenda();
     $format_data = $datasource->get_format_data_structure("eventslist");
     $format_data[0]['children'][] = array('var' => "events[i].link", 'desc' => $this->msg['cms_module_agenda_view_calendar_django_link_desc']);
     $format_data[] = array('var' => "calendar", 'desc' => $this->msg['cms_module_agenda_view_calendar_django_calendar_desc']);
     $format_data[] = array('var' => "legends", 'desc' => $this->msg['cms_module_agenda_view_calendar_django_legends_desc'], 'children' => array(array('var' => "legends[i].calendar", 'desc' => $this->msg['cms_module_agenda_view_calendar_django_legend_calendar_desc']), array('var' => "legends[i].color", 'desc' => $this->msg['cms_module_agenda_view_calendar_django_legend_color_desc'])));
     $format_data = array_merge($format_data, cms_module_common_view_django::get_format_data_structure());
     return $format_data;
 }
 public function get_format_data_structure()
 {
     $format = array();
     $format[] = array('var' => "title", 'desc' => $this->msg['cms_module_common_view_title']);
     $sections = array('var' => "sections", 'desc' => $this->msg['cms_module_common_view_section_desc'], 'children' => $this->prefix_var_tree(cms_section::get_format_data_structure(true, true, true, true), "sections[i]"));
     $sections['children'][] = array('var' => "sections[i].link", 'desc' => $this->msg['cms_module_common_view_section_link_desc']);
     $format[] = $sections;
     $format = array_merge($format, parent::get_format_data_structure());
     return $format;
 }
 public function get_format_data_structure()
 {
     //dans ce cas là, c'est assez simple, c'est la vue qui va chercher les données...
     $format = array();
     $format[] = array('var' => 'home', 'desc' => "", 'children' => array(array('var' => "home.title", 'desc' => $this->msg['cms_module_common_view_home_title_desc']), array('var' => "home.link", 'desc' => $this->msg['cms_module_common_view_home_link_desc'])));
     $sections = array('var' => "sections", 'desc' => $this->msg['cms_module_common_view_section_desc'], 'children' => $this->prefix_var_tree(cms_section::get_format_data_structure(false, false), "sections[i]"));
     $sections['children'][] = array('var' => "sections[i].link", 'desc' => $this->msg['cms_module_common_view_section_link_desc']);
     $format[] = $sections;
     $format = array_merge($format, parent::get_format_data_structure());
     return $format;
 }
 public function get_format_data_structure()
 {
     $format_datas = array(array('var' => "shelves", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_desc'], 'children' => array(array('var' => "shelves[i].id", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_id_desc']), array('var' => "shelves[i].name", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_name_desc']), array('var' => "shelves[i].link", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_link_desc']), array('var' => "shelves[i].link_rss", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_link_rss_desc']), array('var' => "shelves[i].comment", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_comment_desc']), array('var' => "shelves[i].records", 'desc' => $this->msg['cms_modulecommon_view_shelveslist_records_desc']))));
     $format_datas = array_merge($format_datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $rss = new cms_module_common_datasource_rss();
     return array_merge($rss->get_format_data_structure(), parent::get_format_data_structure());
 }
 public function get_format_data_structure()
 {
     $format = array();
     $format[] = array('var' => "title", 'desc' => $this->msg['cms_module_common_view_title']);
     $format[] = array('var' => "records", 'desc' => $this->msg['cms_module_commom_view_records_desc'], 'children' => array(array('var' => "records[i].id", 'desc' => $this->msg['cms_module_common_view_record_id_desc']), array('var' => "records[i].title", 'desc' => $this->msg['cms_module_common_view_record_title_desc']), array('var' => "records[i].vign", 'desc' => $this->msg['cms_module_common_view_record_vign_desc']), array('var' => "records[i].header", 'desc' => $this->msg['cms_module_common_view_record_header_desc']), array('var' => "records[i].content", 'desc' => $this->msg['cms_module_common_view_record_content_desc']), array('var' => "records[i].link", 'desc' => $this->msg['cms_module_common_view_record_link_desc'])));
     $format = array_merge($format, parent::get_format_data_structure());
     return $format;
 }
 public function get_format_data_structure()
 {
     return array_merge(array(array('var' => "record", 'desc' => "", 'children' => array(array('var' => "record.header", 'desc' => $this->msg['cms_module_common_view_record_header_desc']), array('var' => "record.content", 'desc' => $this->msg['cms_module_common_view_record_content_desc']), array('var' => "record.link", 'desc' => $this->msg['cms_module_common_view_record_link_desc'])))), parent::get_format_data_structure());
 }
 public function get_format_data_structure()
 {
     $datasource_watch = new cms_module_watch_datasource_watch();
     $datas = array(array('var' => "categories", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_categories_desc'], 'children' => array(array('var' => "categories[i].id", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_categories_id_desc']), array('var' => "categories[i].title", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_categories_title_desc']), array('var' => "categories[i].watches", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_categories_watches_desc'], 'children' => $this->prefix_var_tree(docwatch_watch::get_format_data_structure(), "categories[i].watches[j]")), array('var' => "categories[i].children", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_categories_children_desc'])), array('var' => "watches", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_watches_desc'], 'children' => $this->prefix_var_tree(docwatch_watch::get_format_data_structure(), "watches[i]"))));
     $datas[0]['children'][2]['children'][] = array('var' => "categories[i].watches[j].link", 'desc' => $this->msg['cms_module_watcheslist_view_django_by_categories_watch_link_desc']);
     $format_datas = array_merge($datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     return array_merge(array(array('var' => "bannettes", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_desc'], 'children' => array(array('var' => "bannettes[i].id", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_id_desc']), array('var' => "bannettes[i].name", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_name_desc']), array('var' => "bannettes[i].comment", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_comment_desc']), array('var' => "bannettes[i].record_number", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_record_number_desc']), array('var' => "bannettes[i].link", 'desc' => $this->msg['cms_module_bannetteslist_view_bannettes_link_desc']), array('var' => "bannettes[i].records", 'desc' => $this->msg['cms_module_bannetteslist_view_records_desc'], 'children' => array(array('var' => "bannettes[i].records[j].id", 'desc' => $this->msg['cms_module_bannetteslist_view_record_id_desc']), array('var' => "bannettes[i].records[j].title", 'desc' => $this->msg['cms_module_bannetteslist_view_record_title_desc']), array('var' => "bannettes[i].records[j].link", 'desc' => $this->msg['cms_module_bannetteslist_view_record_link_desc']), array('var' => "bannettes[i].records[j].url_vign", 'desc' => $this->msg['cms_module_bannetteslist_view_record_url_vign_desc']), array('var' => "bannettes[i].records[j].content", 'desc' => $this->msg['cms_module_bannetteslist_view_notices_record_content_desc']))), array('var' => "bannettes[i].flux_rss", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_desc'], 'children' => array(array('var' => "bannettes[i].flux_rss[j].id", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_id_desc']), array('var' => "bannettes[i].flux_rss[j].name", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_name_desc']), array('var' => "bannettes[i].flux_rss[j].opac_link", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_opac_link_desc']), array('var' => "bannettes[i].flux_rss[j].link", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_link_desc']), array('var' => "bannettes[i].flux_rss[j].lang", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_lang_desc']), array('var' => "bannettes[i].flux_rss[j].copy", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_copy_desc']), array('var' => "bannettes[i].flux_rss[j].editor_mail", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_editor_mail_desc']), array('var' => "bannettes[i].flux_rss[j].webmaster_mail", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_webmaster_mail_desc']), array('var' => "bannettes[i].flux_rss[j].ttl", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_ttl_desc']), array('var' => "bannettes[i].flux_rss[j].img_url", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_img_url_desc']), array('var' => "bannettes[i].flux_rss[j].img_title", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_img_title_desc']), array('var' => "bannettes[i].flux_rss[j].img_link", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_img_link_desc']), array('var' => "bannettes[i].flux_rss[j].format", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_format_desc']), array('var' => "bannettes[i].flux_rss[j].content", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_content_desc']), array('var' => "bannettes[i].flux_rss[j].date_last", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_date_last_desc']), array('var' => "bannettes[i].flux_rss[j].export_court", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_export_court_desc']), array('var' => "bannettes[i].flux_rss[j].template", 'desc' => $this->msg['cms_module_bannetteslist_view_flux_rss_template_desc'])))))), parent::get_format_data_structure());
 }
 public function get_format_data_structure()
 {
     $format_datas[] = array('var' => "no_image_url", 'desc' => $this->msg['cms_module_common_view_carousel_no_image_desc']);
     $format_datas = array_merge($format_datas, parent::get_format_data_structure());
     return $format_datas;
 }
 public function get_format_data_structure()
 {
     $datasource = new cms_module_common_datasource_portfolio();
     return array_merge($datasource->get_format_data_structure(), parent::get_format_data_structure());
 }