Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / I18n / Validator / PhoneNumber / DM.php
bloba7ca72eb38367ca420ca129638857f9d413b3cf2
1 <?php
2 /**
3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
8 */
10 return array(
11 'code' => '1',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[57-9]\\d{9}$/',
15 'fixed' => '/^767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}$/',
16 'mobile' => '/^767(?:2(?:[234689]5|7[5-7])|31[5-7]|61[2-7])\\d{4}$/',
17 'tollfree' => '/^8(?:00|55|66|77|88)[2-9]\\d{6}$/',
18 'premium' => '/^900[2-9]\\d{6}$/',
19 'personal' => '/^5(?:00|33|44)[2-9]\\d{6}$/',
20 'emergency' => '/^333|9(?:11|99)$/',
22 'possible' => array(
23 'general' => '/^\\d{7}(?:\\d{3})?$/',
24 'mobile' => '/^\\d{10}$/',
25 'tollfree' => '/^\\d{10}$/',
26 'premium' => '/^\\d{10}$/',
27 'personal' => '/^\\d{10}$/',
28 'emergency' => '/^\\d{3}$/',