Example #1
0
 function startTab($caption, $url = false, $is_tab = false, $action = false, $inset_id_field = false)
 {
     global $CFG;
     $this->tabs[$this->current_area][$CFG->method_id] = $caption;
     $CFG->o_method_id = $CFG->method_id;
     $CFG->o_method_name = 'startTab';
     $form = new Form('startTab');
     $form->record_id = $this->record_id;
     $this->HTML[] = $form->startTab($caption, $url, $is_tab, $action, $inset_id_field, 1, $this->area_i);
     $this->area_i++;
 }