Can I create a function inside a controller dinamically from a model?

#3
[eluser]chefnelone[/eluser]
hi wan.
I'm creating pages dinamically for a site, each one of this pages needs a function. I known that even if I get the function created then after I'll need to do some code for the function, but this save some time and avoid errors messages.

I'll take a look a the __call() function. I didn't know it and seems very useful.


Messages In This Thread
Can I create a function inside a controller dinamically from a model? - by El Forum - 09-02-2010, 02:08 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.