-- Ralf Eggert <[email protected]> wrote (on Friday, 21 September 2012, 09:35 PM +0200): > > I think in your case it does make sense to call that custom Filter in your > > Service class as you've mentioned. I would do it this way. > > A couple of minutes ago I found Zend\Filter\StaticFilter which uses in > instance of Zend\Filter\FilterPluginManager. I am curious how to add my > custom filters to this FilterPluginManager. It should work like this: > > StaticFilter::getPluginManager()->setInvokableClass( > 'stringtourl', 'Application\Filter\StringToUrl' > ); > > Again the big question is where to add this line? > > - Module::onBootstrap()
I'd vote for this one. > - a listener > - trigger an event to add this -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
