Zend_Filter_Phone - Ready for Review

4 messages Options
Embed this post
Permalink
Jeremy Postlethwaite

Zend_Filter_Phone - Ready for Review

Reply Threaded More More options
Print post
Permalink
Hello everyone,

I have created a Zend_Locale aware phone filter.

http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Phone+-+Jeremy+Postlethwaite

At this point the only regions in the filter are those available in NANP: http://en.wikipedia.org/wiki/North_American_Numbering_Plan

The filter can take more regions.

Please have a look and give some feedback.

Thanks,

Jeremy Postlethwaite
Jeremy Postlethwaite

Re: Zend_Filter_Phone - Ready for Review

Reply Threaded More More options
Print post
Permalink
I also have a Zend_Validate_Phone implementation that works on a similar order.

If this seems like it is on the right track to the community, I will post it as well.

gammamatrix wrote:
Hello everyone,

I have created a Zend_Locale aware phone filter.

http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Phone+-+Jeremy+Postlethwaite

At this point the only regions in the filter are those available in NANP: http://en.wikipedia.org/wiki/North_American_Numbering_Plan

The filter can take more regions.

Please have a look and give some feedback.

Thanks,

Jeremy Postlethwaite
Simon Corless

Re: Zend_Filter_Phone - Ready for Review

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jeremy Postlethwaite
Sounds promising, when will it be supporting the UK phone numbering system?

http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom


gammamatrix wrote:
Hello everyone,

I have created a Zend_Locale aware phone filter.

http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Phone+-+Jeremy+Postlethwaite

At this point the only regions in the filter are those available in NANP: http://en.wikipedia.org/wiki/North_American_Numbering_Plan

The filter can take more regions.

Please have a look and give some feedback.

Thanks,

Jeremy Postlethwaite
Jeremy Postlethwaite

Re: Zend_Filter_Phone - Ready for Review

Reply Threaded More More options
Print post
Permalink
Before adding another set of regions, I think it is necessary to enhance the code to alert to incorrect area codes within a region.

I am using the UK as my test case along with NANP.

Jeremy

Simon Corless wrote:
Sounds promising, when will it be supporting the UK phone numbering system?

http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom


gammamatrix wrote:
Hello everyone,

I have created a Zend_Locale aware phone filter.

http://framework.zend.com/wiki/display/ZFPROP/Zend_Filter_Phone+-+Jeremy+Postlethwaite

At this point the only regions in the filter are those available in NANP: http://en.wikipedia.org/wiki/North_American_Numbering_Plan

The filter can take more regions.

Please have a look and give some feedback.

Thanks,

Jeremy Postlethwaite