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 / SG.php
blob70c1b85b9d22aa98c56ddd9868f5f9dca303a1f2
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' => '65',
12 'patterns' => array(
13 'national' => array(
14 'general' => '/^[36]\\d{7}|[17-9]\\d{7,10}$/',
15 'fixed' => '/^6[1-9]\\d{6}$/',
16 'mobile' => '/^(?:8[1-7]|9[0-8])\\d{6}$/',
17 'tollfree' => '/^1?800\\d{7}$/',
18 'premium' => '/^1900\\d{7}$/',
19 'voip' => '/^3[12]\\d{6}$/',
20 'uan' => '/^7000\\d{7}$/',
21 'shortcode' => '/^1(?:[0136]\\d{2}|[89](?:[1-9]\\d|0[1-9])|[57]\\d{2,3})|99[0246-8]$/',
22 'emergency' => '/^99[359]$/',
24 'possible' => array(
25 'general' => '/^\\d{8,11}$/',
26 'fixed' => '/^\\d{8}$/',
27 'mobile' => '/^\\d{8}$/',
28 'tollfree' => '/^\\d{10,11}$/',
29 'premium' => '/^\\d{11}$/',
30 'voip' => '/^\\d{8}$/',
31 'uan' => '/^\\d{11}$/',
32 'shortcode' => '/^\\d{3,5}$/',
33 'emergency' => '/^\\d{3}$/',