Html::tel()
Generates an <a>
tag for a phone number
Parameters
Name | Type | Default | Description |
---|---|---|---|
$tel * | string |
– | The phone number |
$text | string |array |null |
null |
The optional text; if null , the phone number will be used as text |
$attr | array |
[ ] |
Additional attributes for the tag |
Return type
string