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 / EC.php
blob480a9ef62fd995f1d3c2d777e32f3f5c8621158a
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' => '593',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^1\\d{9,10}|[2-8]\\d{7}|9\\d{8}$/',
15 'fixed' => '/^[2-7][2-7]\\d{6}$/',
16 'mobile' => '/^9(?:[2-7]9|[89]\\d)\\d{6}$/',
17 'tollfree' => '/^1800\\d{6,7}$/',
18 'voip' => '/^[2-7]890\\d{4}$/',
19 'emergency' => '/^1(?:0[12]|12)|911$/',
21 'possible' => array(
22 'general' => '/^\\d{7,11}$/',
23 'fixed' => '/^\\d{7,8}$/',
24 'mobile' => '/^\\d{9}$/',
25 'tollfree' => '/^\\d{10,11}$/',
26 'voip' => '/^\\d{8}$/',
27 'emergency' => '/^\\d{3}$/',