Welcome Guest, Not a member yet? Register   Sign In
How to use a library in the MY_Loader-Class
#2

[eluser]Tpojka[/eluser]
Add the constructor.
Code:
class MY_Loader extend CI_Loader {
  public function __construct() {
    parent::__construct();
  }

  public function language_view() {
    $this->language->get(); // Message: Undefined property: MY_Loader::$language
  }
}


Messages In This Thread
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 07:43 AM
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 11:42 AM
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 12:18 PM
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 01:07 PM
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 01:11 PM
How to use a library in the MY_Loader-Class - by El Forum - 11-23-2013, 01:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB