PluginProbe
PayPlug for WooCommerce (Official) / 2.5.2
PayPlug for WooCommerce (Official) v2.5.2
3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 All 101 releases
payplug / lib / libphonenumber / CountryCodeSource.php

CountryCodeSource.php in PayPlug for WooCommerce (Official) 2.5.2, at lib/libphonenumber/CountryCodeSource.php

35 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace libphonenumber;
4
5 /**
6 * Country code source from number
7 */
8 class CountryCodeSource
9 {
10 /**
11 * The country_code is derived based on a phone number with a leading "+", e.g. the French
12 * number "+33 1 42 68 53 00".
13 */
14 const FROM_NUMBER_WITH_PLUS_SIGN = 0;
15 /**
16 * The country_code is derived based on a phone number with a leading IDD, e.g. the French
17 * number "011 33 1 42 68 53 00", as it is dialled from US.
18 */
19 const FROM_NUMBER_WITH_IDD = 1;
20 /**
21 * The country_code is derived based on a phone number without a leading "+", e.g. the French
22 * number "33 1 42 68 53 00" when defaultCountry is supplied as France.
23 */
24 const FROM_NUMBER_WITHOUT_PLUS_SIGN = 2;
25 /**
26 * The country_code is derived NOT based on the phone number itself, but from the defaultCountry
27 * parameter provided in the parsing function by the clients. This happens mostly for numbers
28 * written in the national format (without country code). For example, this would be set when
29 * parsing the French number "01 42 68 53 00", when defaultCountry is supplied as France.
30 */
31 const FROM_DEFAULT_COUNTRY = 3;
32
33 const UNSPECIFIED = 4;
34 }
35