JHtmlTel
HTML helper class for rendering telephone numbers.
abstract
| package |
Joomla.Platform |
|---|---|
| subpackage |
HTML |
| since |
11.1 |
Methods
tel
Converts strings of integers into more readable telephone format
tel(integer $number, string $displayplan) : string
static
By default, the ITU-T format will automatically be used. However, one of the allowed unit types may also be used instead.
| since |
11.1 |
|---|---|
| see | \JFormRuleTel |
Arguments
- $number
integerThe integers in a phone number with dot separated country code ccc.nnnnnnn where ccc represents country code and nnn represents the local number.- $displayplan
stringThe numbering plan used to display the numbers.
Response
stringThe formatted telephone number.