Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
help.php
Go to the documentation of this file.
1 <?php
2 
8 $help = elgg_extract('help', $vars, '');
9 if (!$help) {
10  return;
11 }
12 
13 echo elgg_format_element('div', [
14  'class' => 'elgg-field-help elgg-text-help',
15  ], $help);
$help
Form input help text view.
Definition: help.php:8
$vars['entity']
elgg_format_element($tag_name, array $attributes=array(), $text= '', array $options=array())
Format an HTML element.
Definition: output.php:218
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:1310