public function __construct() { parent::__construct(); if (method_exists($this, $this->task_key)) { $function = $this->task_key; $this->{$function}(); } else { $this->index(); } }
public function __construct() { parent::__construct(); }
public function __construct() { parent::__construct(); $this->load->helper(array('dompdf', 'file', 'excel')); }