Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
output
tel.php
Go to the documentation of this file.
1
<?php
8
$value
=
elgg_extract
(
'value'
,
$vars
);
9
10
echo
elgg_view
(
'output/url'
, [
11
'text'
=>
$value
,
12
'href'
=>
"tel:{$value}"
,
13
'allowed_schemes'
=> [
'tel'
],
14
]);
elgg_extract
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition:
elgglib.php:254
elgg_view
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition:
views.php:156
$value
$value
Displays formatted telephone.
Definition:
tel.php:8
$vars
$vars['class']
Elgg tel input Displays a tel input field.
Definition:
tel.php:7
Generated on Sat Dec 21 2024 00:02:54 for Elgg by
1.8.11