"", 'thead_open' => '', 'thead_close' => '', 'heading_row_start' => '', 'heading_row_end' => '', 'heading_cell_start' => '', 'tbody_open' => '', 'tbody_close' => '', 'row_start' => '', 'row_end' => '', 'cell_start' => '', 'row_alt_start' => '', 'row_alt_end' => '', 'cell_alt_start' => '', 'table_close' => '
', 'heading_cell_end' => '
', 'cell_end' => '
', 'cell_alt_end' => '
', ); public $data = array(); function __construct() { parent::__construct(); // this is your constructor $this->load->helper('form'); $this->load->helper('url'); // you dont have bussines here if you are not in session if (!isset($_SESSION['session_id']) or ! isset($_SESSION['backoffice_id'])) { redirect('/logout'); } } public function getSessionArray() { $data["current_date"] = date('l jS \of F Y h:i:s A'); return $data; } private function refreshAccountDetail($member_id) { } }