init() 공개 메소드

Initialization.
public init ( )
예제 #1
0
 function init()
 {
     parent::init();
     //$this->add('Reloadable');
     //$this->api->addHook('pre-render',array($this,'precacheTemplate'));
     $this->sortby = $this->learn('sortby', @$_GET[$this->name . '_sort']);
 }
예제 #2
0
 function init()
 {
     parent::init();
     $this->addColumn('text', 'id');
     $this->addColumn('text', 'name');
     $this->addColumn('text', 'value');
 }
예제 #3
0
 function init()
 {
     parent::init();
     if ($this->include_id_column) {
         $this->addColumn('text', 'id');
     }
     $this->addColumn('text', 'name');
     $this->addColumn('text', 'value');
 }
예제 #4
0
파일: Advanced.php 프로젝트: easyconn/atk4
 /**
  * Initialization
  *
  * @return void
  */
 function init()
 {
     parent::init();
     // sorting support
     $this->sortby = isset($_GET[$this->name . '_sort']) ? $this->memorize('sortby', $_GET[$this->name . '_sort']) : $this->recall('sortby', '0');
 }