class JHtmlTel

HTML helper class for rendering telephone numbers.

Methods

static  string
tel( integer $number, string $displayplan)

Converts strings of integers into more readable telephone format

Details

static string tel( integer $number, string $displayplan)

Converts strings of integers into more readable telephone format

By default, the ITU-T format will automatically be used. However, one of the allowed unit types may also be used instead.

Parameters

integer $number The integers in a phone number with dot separated country code ccc.nnnnnnn where ccc represents country code and nnn represents the local number.
string $displayplan The numbering plan used to display the numbers.

Return Value

string The formatted telephone number.

See also

JFormRuleTel