application/controllers/Products.php
/**
     * Index method for products
     * 
     * @return page
     */
Index method for products

@return page
Index method for products @return page
public function index()
    {
        $data['title'] = 'Products';
        $this->load->view('header', $data);
        $this->load->view('products/index', $data);
        $this->load->view('footer', $data);
    }
public function index ( ) { $ data [ 'title' ] = 'Products' ; $ this -> load -> view ( 'header' , $ data ) ; $ this -> load -> view ( 'products/index' , $ data ) ; $ this -> load -> view ( 'footer' , $ data ) ; }
Index method for products
Index method for products