init() public method

Initialization.
public init ( )
Ejemplo n.º 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']);
 }
Ejemplo n.º 2
0
 function init()
 {
     parent::init();
     $this->addColumn('text', 'id');
     $this->addColumn('text', 'name');
     $this->addColumn('text', 'value');
 }
Ejemplo n.º 3
0
 function init()
 {
     parent::init();
     if ($this->include_id_column) {
         $this->addColumn('text', 'id');
     }
     $this->addColumn('text', 'name');
     $this->addColumn('text', 'value');
 }
Ejemplo n.º 4
0
 /**
  * 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');
 }