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 / BR.php
blob38607b0add46374f62188bfc9b45434f34fa41fc
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' => '55',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[1-46-9]\\d{7,10}|5\\d{8,9}$/',
15 'fixed' => '/^1[1-9][2-5]\\d{7}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}$/',
16 'mobile' => '/^1(?:1(?:5[347]|[6-8]\\d|9\\d{1,2})|[2-9][6-9]\\d)\\d{6}|(?:[4689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[6-9]\\d{7}$/',
17 'tollfree' => '/^800\\d{6,7}$/',
18 'premium' => '/^[359]00\\d{6,7}$/',
19 'shared' => '/^[34]00\\d{5}$/',
20 'emergency' => '/^1(?:12|28|9[023])|911$/',
22 'possible' => array(
23 'general' => '/^\\d{8,11}$/',
24 'mobile' => '/^\\d{10,11}$/',
25 'shared' => '/^\\d{8}$/',
26 'emergency' => '/^\\d{3}$/',