JHtmlTel

HTML helper class for rendering telephone numbers.

abstract
since

1.6

package

Joomla.Libraries

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.

see \JFormRuleTel
since

1.6

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.