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 / ZW.php
blob9fbac98b30e55168dd429281aa1d6b8a9f0f816d
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' => '263',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^2(?:[012457-9]\\d{3,8}|6\\d{3,6})|[13-79]\\d{4,8}|86\\d{8}$/',
15 'fixed' => '/^(?:1[3-9]|2(?:0[45]|[16]|2[28]|[49]8?|58[23]|7[246]|8[1346-9])|3(?:08?|17?|3[78]|[2456]|7[1569]|8[379])|5(?:[07-9]|1[78]|483|5(?:7?|8))|6(?:0|28|37?|[45][68][78]|98?)|848)\\d{3,6}|(?:2(?:27|5|7[135789]|8[25])|3[39]|5[1-46]|6[126-8])\\d{4,6}|2(?:0|70)\\d{5,6}|(?:4\\d|9[2-8])\\d{4,7}$/',
16 'mobile' => '/^7[137]\\d{7}|86(?:22|44)\\d{6}$/',
17 'voip' => '/^86(?:1[12]|30|8[367]|99)\\d{6}$/',
18 'emergency' => '/^(?:112|99[3459])$/',
20 'possible' => array(
21 'general' => '/^\\d{3,10}$/',
22 'mobile' => '/^\\d{9,10}$/',
23 'voip' => '/^\\d{10}$/',
24 'emergency' => '/^\\d{3}$/',