Elgg  Version 3.0
email.php
Go to the documentation of this file.
1 <?php
13 if (!empty($vars['value'])) {
14  echo elgg_view('output/url', [
15  'href' => 'mailto:' . $vars['value'],
16  'text' => elgg_extract('value', $vars),
17  'encode_text' => true,
18  ]);
19 }
$vars['class']
Definition: email.php:12
elgg echo
Translates a string.
Definition: languages.js:43
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:1131
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246