Modular Extensions (HMVC), class variables and code completion (NetBeans) |
[eluser]Derdiusz[/eluser]
Hi! I use Modular Extensions (http://codeigniter.com/wiki/Modular_Extensions_-_HMVC/) in my application. And from now I've problems with define local class variables for class - php throws me an error: "Call to a member function .... on a non-object in ...". My controller class looks like: Code: class Start extends MX_Controller And when I call a $this->benchmark->mark('a') I've an error but when I remove: Code: var $benchmark; Code: Code: /** It looks like a Modular Extensions overwrite base controller class CI_Benchmark with empty var $benchmark... I also trying to force load a benchmark class ($this->load->library('benchmark') before using any methods from benchmark class - no results Any solutions for it? Kind regards D. |
Messages In This Thread |
Modular Extensions (HMVC), class variables and code completion (NetBeans) - by El Forum - 08-28-2010, 01:50 PM
|