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 / MY.php
blob645e0a754d4a490d8f820ebd7ecdddf9bc3a36ef
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' => '60',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[13-9]\\d{7,9}$/',
15 'fixed' => '/^(?:3[2-9]\\d|[4-9][2-9])\\d{6}$/',
16 'mobile' => '/^1(?:1[1-3]\\d{2}|[02-4679][2-9]\\d|8(?:1[23]|[2-9]\\d))\\d{5}$/',
17 'tollfree' => '/^1[38]00\\d{6}$/',
18 'premium' => '/^1600\\d{6}$/',
19 'personal' => '/^1700\\d{6}$/',
20 'voip' => '/^154\\d{7}$/',
21 'emergency' => '/^112|999$/',
23 'possible' => array(
24 'general' => '/^\\d{6,10}$/',
25 'fixed' => '/^\\d{6,9}$/',
26 'mobile' => '/^\\d{9,10}$/',
27 'tollfree' => '/^\\d{10}$/',
28 'premium' => '/^\\d{10}$/',
29 'personal' => '/^\\d{10}$/',
30 'voip' => '/^\\d{10}$/',
31 'emergency' => '/^\\d{3}$/',