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 $this->prefix_var_tree(docwatch_watch::get_format_data_structure(), "watch"); }