Simone,

I'm actually curious - I've seen that I could use custom view classes,
but so far I don't get why I would want to do that.
Could you explain what you're using your custom class for? Just for
educational purposes :)

Thanks,
 Daniel



On Sep 29, 8:20 am, Simone Fumagalli <[email protected]>
wrote:
> Hello
>
> I'm trying to override sfPHPView because I need few more features.
>
> I've created my new class sfMYView and saved it in a file called
> sfMYView.class.php.
> Then I've added these lines to my_module/config/module.yml
>
> all:
>   enabled:            true
>   view_class:         sfMY
>   partial_view_class: sf
>
> The point is that when I try to view the page I get :
> Fatal error: Class 'sfMYView' not found in /home/... /
> sfController.class.php on line 376
>
> I think that the class sfMYView is not loaded.
> Where Do I have to save the file sfMYView.class.php ? I've tried to
> put it in /symfony/lib/view/ or mymodule/lib/
>
> Where am I wrong ?
>
> Thanks
>
> --
> Simone
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to