Re: [symfony-users] Functions other than executeActionXXX()

2010-04-26 Thread Gábor Fási
You can add you own functions to the actions class. Unless their name starts with execute you won't be able to access them from the outside. If their name starts with execute, declare them as private or protected, so they won't be available either. Also think about moving the function to a custom

Re: [symfony-users] Functions other than executeActionXXX()

2010-04-26 Thread Richard D Shank
On Sun, 2010-04-25 at 19:10 -0700, Parijat Kalia wrote: Hey guys, I am sure we can define different functions in Symfony, other than the executeActionXXX() types. Suppose I wanna define a function that does a task in several other functions. How can I go about doing this? for e.g That

[symfony-users] Functions other than executeActionXXX()

2010-04-25 Thread Parijat Kalia
Hey guys, I am sure we can define different functions in Symfony, other than the executeActionXXX() types. Suppose I wanna define a function that does a task in several other functions. How can I go about doing this? for e.g executeActionXXX() { $var = functionXX(); } executeActionYYY() { $var