ZF-2899: Zend_Filter / Zend_Validate setDefaultNamespaces

Issue Type: Improvement Created: 2008-03-17T07:32:49.000+0000 Last Updated: 2009-06-25T08:13:38.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: James Dempster (letssurf) Assignee: Thomas Weidner (thomas) Tags: - Zend_Filter

  • Zend_Validate

Related issues: Attachments: - zend_filter_add_defaultnamespaces.patch


While creating my own filters and validators it's very annoying to have to add the name spaces everytime I use Zend_Filter::get() or Zend_Validate::is().

It would be much nicer to have a setDefaultNamespaces, which would allow namespaces for Zend_Filter and one for Zend_Vailidate to be setup in the bootstrap.


Posted by James Dempster (letssurf) on 2008-03-17T07:40:44.000+0000

An example of how I would implement DefaultNamespaces

Posted by Wil Sinclair (wil) on 2008-12-30T07:47:00.000+0000

Matthew, could you please evaluate this issue? I'm wondering how such functionality would work with Zend_Application, too.

Posted by Thomas Weidner (thomas) on 2009-06-25T08:13:37.000+0000

New feature added with r16286

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.