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 / DO.php
blobeafbda104646dfdab835b6e06b51c529e85263e2
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' => '/^[589]\\d{9}$/',
15 'fixed' => '/^8(?:[04]9[2-9]\\d{6}|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d{2}|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9]))\\d{4})$/',
16 'mobile' => '/^8[024]9[2-9]\\d{6}$/',
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' => '/^112|911$/',
22 'possible' => array(
23 'general' => '/^\\d{7}(?:\\d{3})?$/',
24 'tollfree' => '/^\\d{10}$/',
25 'premium' => '/^\\d{10}$/',
26 'personal' => '/^\\d{10}$/',
27 'emergency' => '/^\\d{3}$/',