render() публичный Метод

Render lister.
public render ( )
Пример #1
0
 function render()
 {
     $this->js(true)->_library('PNotify.desktop')->permission();
     $this->js(true)->_load('xepan.pnotify')->univ()->ajaxec($this->api->url('xepan_hr_notificationexec'));
     return parent::render();
 }
Пример #2
0
 function render()
 {
     $this->setSource($this->items);
     parent::render();
 }
Пример #3
0
 function render()
 {
     $this->max_depth = count(parent::setModel($this->model)) - 1;
     return parent::render();
 }
Пример #4
0
 function render()
 {
     $this->template->setHtml('title', $this->title);
     $this->template->setHtml('title_icon', $this->title_icon);
     parent::render();
 }
Пример #5
0
 function render()
 {
     $this->js(true)->_selector('.draggable-event')->draggable(array('helper' => 'clone'));
     parent::render();
 }
Пример #6
0
 function render()
 {
     if ($this->js_widget) {
         $fn = str_replace('ui.', '', $this->js_widget);
         $this->js(true)->_load($this->js_widget)->{$fn}($this->js_widget_arguments);
     }
     if ($this->dq && $this->dq->foundRows() == 0 || !isset($this->dq) && empty($this->data)) {
         $def_template = $this->defaultTemplate();
         //$not_found=$this->add('SMlite')->loadTemplate($def_template[0])->cloneRegion('not_found');
         //$this->template->set('no_records_message',$this->no_records_message);
         //$this->template->del('rows');
         //$this->template->del('totals');
         //$this->template->set('header','<tr class="header">'.$not_found->render().'</tr>');
         $this->totals = false;
         $this->template->del('full_table');
         //    		return true;
     } else {
         $this->template->del('not_found');
     }
     parent::render();
 }