Hi every:
I have this code in the preExecute action:
PHP Code:
public function preExecute()
{
$this->moduleName = $this->getModuleName();
}
Then in my layout.php file I have this:
echo $moduleName;
If I try the URL http://gestion.local/backend_dev.php/geslicsoft the
$moduleName variable need to take "geslicsoft" as value ¿right? Well this var
cannot take any value and Symgony show me this error:
Notice: Undefined variable: moduleName in
D:\Development\WWW\gestion.local\apps\backend\templates\layout.php on line 39
What I'm doing wrong?
Cheers and thanks in advance
Ing. Reynier Pérez Mira
Grupo de Soporte al Desarrollo - Dirección Técnica IP
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---