application/core/Admin_Controller.php
// Wrapper function to display a template to the page.
Wrapper function to display a template to the page.
Wrapper function to display a template to the page .
protected function templateDisplay($template, $data) {
        $data['header_data'] = $this->header_data;
        $data['header_data']['status'] = $this->session->flashdata('status');
        $data['header_data']['message'] = $this->session->flashdata('message');
        $this->template->display($data, $template);
    }
protected function templateDisplay ( $ template , $ data ) { $ data [ 'header_data' ] = $ this -> header_data ; $ data [ 'header_data' ] [ 'status' ] = $ this -> session -> flashdata ( 'status' ) ; $ data [ 'header_data' ] [ 'message' ] = $ this -> session -> flashdata ( 'message' ) ; $ this -> template -> display ( $ data , $ template ) ; }
Wrapper function to display a template to the page.
Wrapper function to display a template to the page .