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 / CR.php
blob8e622e1cc1737cb0cf80c0dd012e81ff0ceaf533
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' => '506',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[24-9]\\d{7,9}$/',
15 'fixed' => '/^2[24-7]\\d{6}$/',
16 'mobile' => '/^5(?:0[0-4]|7[01])\\d{5}|[67][0-2]\\d{6}|8[3-9]\\d{6}$/',
17 'tollfree' => '/^800\\d{7}$/',
18 'premium' => '/^90[059]\\d{7}$/',
19 'voip' => '/^210[0-6]\\d{4}|4(?:0(?:[04]0\\d{4}|10[0-3]\\d{3}|2(?:00\\d|900)\\d{2}|3[01]\\d{4}|5\\d{5}|70[01]\\d{3})|1[01]\\d{5}|400\\d{4})|5100\\d{4}$/',
20 'shortcode' => '/^1(?:0(?:00|15|2[2-4679])|1(?:1[0-35-9]|37|[46]6|75|8[79]|9[0-379])|2(?:00|[12]2|34|55)|333|400|5(?:15|5[15])|693|7(?:00|1[789]|2[02]|[67]7))$/',
21 'emergency' => '/^112|911$/',
23 'possible' => array(
24 'general' => '/^\\d{8,10}$/',
25 'fixed' => '/^\\d{8}$/',
26 'mobile' => '/^\\d{8}$/',
27 'tollfree' => '/^\\d{10}$/',
28 'premium' => '/^\\d{10}$/',
29 'voip' => '/^\\d{8}$/',
30 'shortcode' => '/^\\d{4}$/',
31 'emergency' => '/^\\d{3}$/',