|
static | format_number (string $phonenumber) |
| This function internationalises a number to E.164 standard.
|
|
static | is_valid_phonenumber (string $phonenumber) |
| Validate phone number with E.164 format.
|
|
◆ format_number()
static factor_sms\helper::format_number |
( |
string | $phonenumber | ) |
|
|
static |
This function internationalises a number to E.164 standard.
https://46elks.com/kb/e164
- Parameters
-
string | $phonenumber | the phone number to format. |
- Return values
-
string | the formatted phone number. |
◆ is_valid_phonenumber()
static factor_sms\helper::is_valid_phonenumber |
( |
string | $phonenumber | ) |
|
|
static |
The documentation for this class was generated from the following file:
- admin/tool/mfa/factor/sms/classes/helper.php