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 / ES.php
blobdb0f14e8f25ce5e40227a63dbf69e63c0e95b6f3
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' => '34',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[5-9]\\d{8}$/',
15 'fixed' => '/^8(?:[13]0|[28][0-8]|[47][1-9]|5[01346-9]|6[0457-9])\\d{6}|9(?:[1238][0-8]\\d{6}|4[1-9]\\d{6}|5\\d{7}|6(?:[0-8]\\d{6}|9(?:0(?:[0-57-9]\\d{4}|6(?:0[0-8]|1[1-9]|[2-9]\\d)\\d{2})|[1-9]\\d{5}))|7(?:[124-9]\\d{2}|3(?:[0-8]\\d|9[1-9]))\\d{4})$/',
16 'mobile' => '/^(?:6\\d{6}|7[1-4]\\d{5}|9(?:6906(?:09|10)|7390\\d{2}))\\d{2}$/',
17 'tollfree' => '/^[89]00\\d{6}$/',
18 'premium' => '/^80[367]\\d{6}$/',
19 'shared' => '/^90[12]\\d{6}$/',
20 'personal' => '/^70\\d{7}$/',
21 'uan' => '/^51\\d{7}$/',
22 'emergency' => '/^0(?:[69][12]|8[05])|112$/',
24 'possible' => array(
25 'general' => '/^\\d{9}$/',
26 'emergency' => '/^\\d{3}$/',