Welcome Guest, Not a member yet? Register   Sign In
CI Version 3.1.3 My Controller Call to undefined method
#4

Please read Narf's answer.

If your dashboard controller needs to call methods in your "MY_Controller", you should not use CI_Controller but MY_Controller in the definition of the dashboard class:

PHP Code:
class dashboard extends MY_Controller {

 
  public function index() {
 
      $this->test();
 
  }


Reply


Messages In This Thread
RE: CI Version 3.1.3 My Controller Call to undefined method - by Wouter60 - 02-02-2017, 10:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB