Help with the call of new classess from other files. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Help with the call of new classess from other files. (/showthread.php?tid=52367) |
Help with the call of new classess from other files. - El Forum - 06-07-2012 [eluser]Unknown[/eluser] Hi, this's my code from my custom loader: Code: class MY_Loader extends MX_Loader { Code: $this->{$object}->do_that(); Quote:A PHP Error was encounteredHow i can do $this->{$object} = new $this->name; one time and don't do that anymore? Please help me, i'm not a proffesional. |