Elgg  Version 3.0
longtext.php
Go to the documentation of this file.
1 <?php
13 $vars['class'] = elgg_extract_class($vars, 'elgg-output');
14 
15 $text = elgg_extract('value', $vars);
16 unset($vars['value']);
17 
19 
20 if (empty($text)) {
21  return;
22 }
23 
24 unset($vars['parse_urls'], $vars['parse_emails'], $vars['sanitize'], $vars['autop']);
25 
elgg_format_html($html, array $options=[])
Prepare HTML output.
Definition: output.php:23
$vars['class']
Definition: longtext.php:23
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:1153
$text
Definition: longtext.php:15
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:168
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