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 / CA.php
blobf179f054d251a460b068b6c51521ba691ef12a3e
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' => '/^[2-9]\\d{9}|3\\d{6}$/',
15 'fixed' => '/^(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}|310\\d{4}$/',
16 'mobile' => '/^(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|5[06])|5(?:0[06]|1[49]|79|8[17])|6(?:0[04]|13|39|47)|7(?:0[059]|80|78)|8(?:[06]7|19|73)|90[25])[2-9]\\d{6}$/',
17 'tollfree' => '/^8(?:00|55|66|77|88)[2-9]\\d{6}|310\\d{4}$/',
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 'premium' => '/^\\d{10}$/',
25 'personal' => '/^\\d{10}$/',
26 'emergency' => '/^\\d{3}$/',