| category | OSS |
|---|---|
| package | OSS_Log |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
formatPhoneNumber(string $pNumber, bool $pInternational, string | int $pCountryCode, string | int $pLocalPrefix) : string
country code to the beginning, and removing the leading local prefix if present - for example '353' and '0' for Ireland.
string
booldefault false
stringintdefault '353'
stringintdefault '0'
stringintlPhoneNumber(string $pNumber, string | int $pCountryCode, string | int $pLocalPrefix) : string
country code to the beginning, and removing the leading local prefix if present - for example '353' and '0' for Ireland.
string
stringintdefault '353'
stringintdefault '0'
stringisMobileNumber(string $pNumber, string $pCountryCode) : boolean
string
stringdefault '353'
booleanlocalPhoneNumber(string $pNumber, string | int $pCountryCode, string | int $pLocalPrefix) : string
country code from the beginning, and adding the leading local prefix if missing - for example '353' and '0' for Ireland.
string
stringintdefault '353'
stringintdefault '0'
string