Elgg  Version 4.3
Go to the documentation of this file.
1 <?php
8 $value = elgg_extract('value', $vars);
10 echo elgg_view('output/url', [
11  'text' => $value,
12  'href' => "tel:{$value}",
13  'allowed_schemes' => ['tel'],
14 ]);
Displays formatted telephone.
Definition: tel.php:8
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:547
Elgg tel input Displays a tel input field.
Definition: tel.php:7
elgg echo
Translates a string.
Definition: deprecated.js:530
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:179