On May 7, 10:35 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> wrote:

> I would write a custom filter and apply it to the filter chain.

I couldn't get custom filters working at all.

I created a class file in apps/myapp/lib/myfilter.class.php.

I want to apply it to all actions in my admin module so I edited apps/
myapp/modules/admin/config/filters.yml:

rendering: ~
web_debug: ~
security:  ~
myfilter:
  class: myFilter
cache:     ~
common:    ~
flash:     ~
execution: ~

Now when I access my admin actions it says 'Class myFilter not found'
and the source code for the filter class is shown above it.

Huh?



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