render() public method

Render lister.
public render ( )
示例#1
0
文件: Notification.php 项目: xepan/hr
 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
文件: Basic.php 项目: respond/atk4
 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();
 }