Re: [PHP] Function that creates a class instance with a given name

2004-06-29 Thread Justin Patrin
On Tue, 29 Jun 2004 14:16:16 +0300, Maris <[EMAIL PROTECTED]> wrote: > > Hi there! > > I am trying to make a PHP function "create_object" that would allow me to > create a class instance with supplied name > > Here's the Smarty code snipset I would like to use my function in: > > {* Let's creat

[PHP] Function that creates a class instance with a given name

2004-06-29 Thread Maris
Hi there! I am trying to make a PHP function "create_object" that would allow me to create a class instance with supplied name Here's the Smarty code snipset I would like to use my function in: {* Let's create a new class object with name "car" *} {create_object id=$id_car name="car"} {* When i