Zend Framework

Zend_Filter / Zend_Validate setDefaultNamespaces

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.5.0RC1, 1.5.0, 1.5.3, 1.6.0RC2, Next Major Release
  • Fix Version/s: 1.9.0
  • Component/s: Zend_Filter, Zend_Validate
  • Labels:
    None
  • Fix Version Priority:
    Nice to Have

Description

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.

Activity

Hide
James Dempster added a comment -

An example of how I would implement DefaultNamespaces

Show
James Dempster added a comment - An example of how I would implement DefaultNamespaces
Hide
Wil Sinclair added a comment -

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

Show
Wil Sinclair added a comment - Matthew, could you please evaluate this issue? I'm wondering how such functionality would work with Zend_Application, too.
Hide
Thomas Weidner added a comment -

New feature added with r16286

Show
Thomas Weidner added a comment - New feature added with r16286

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: