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 / TO.php
blob9dbd4e4c4f00264c5ecb29d4e12ebf051a86843d
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' => '676',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[02-8]\\d{4,6}$/',
15 'fixed' => '/^(?:2\\d|3[1-8]|4[1-4]|[56]0|7[0149]|8[05])\\d{3}$/',
16 'mobile' => '/^(?:7[578]|8[7-9])\\d{5}$/',
17 'tollfree' => '/^0800\\d{3}$/',
18 'emergency' => '/^9(?:11|22|33|99)$/',
20 'possible' => array(
21 'general' => '/^\\d{5,7}$/',
22 'fixed' => '/^\\d{5}$/',
23 'mobile' => '/^\\d{7}$/',
24 'tollfree' => '/^\\d{7}$/',
25 'emergency' => '/^\\d{3}$/',