Welcome Guest, Not a member yet? Register   Sign In
Using normal PHP classes
#7

[eluser]robert.isenberg[/eluser]
Thanks for that... but I've just looked at the Plugin section of the userguide at http://www.ellislab.com/codeigniter/user...ugins.html and again, it's still not obvious to me how you actually create multiple instances.

Are you saying that I load he plugin:

$this->load->plugin('my_class_pi.php');

and that then I can use:

$an_object = new MyClassPi();

where my_class_pi.php is:

class MyClassPi(){

... etc ..

}

Is that what you mean? Sorry if I'm being obtruse!


Messages In This Thread
Using normal PHP classes - by El Forum - 07-28-2007, 09:01 AM
Using normal PHP classes - by El Forum - 07-29-2007, 10:21 AM
Using normal PHP classes - by El Forum - 07-29-2007, 10:28 AM
Using normal PHP classes - by El Forum - 07-29-2007, 10:37 AM
Using normal PHP classes - by El Forum - 07-29-2007, 10:44 AM
Using normal PHP classes - by El Forum - 07-29-2007, 02:48 PM
Using normal PHP classes - by El Forum - 07-29-2007, 03:07 PM
Using normal PHP classes - by El Forum - 07-29-2007, 03:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB