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
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
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