hi

i think us should use the symfony
preExecute<http://www.symfony-project.org/api/1_2/sfAction#method_preexecute>()
function.
Executes an application defined process prior to execution of this sfAction
object.

On Tue, Mar 24, 2009 at 8:41 PM, dziobacz <aaabbbcccda...@gmail.com> wrote:

>
> How can I make constructor in symfony ? I have tried:
>
> class see_userActions extends sfActions
> {
>  private $id;
>
>  public function initialize()
>  {
>         $id=2;
>  }
> .................
> }
>
> Error:
> Strict Standards: Declaration of zobacz_uzytkownikaActions::initialize
> () should be compatible with that of sfAction::initialize()
> Call to a member function notify() on a non-object
>
> Why ??
> >
>


-- 
Regards,
Dheeraj

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to