Elgg  Version 4.3
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=[])
Output functions Processing text for output such as pulling out URLs and extracting excerpts...
Definition: output.php:20
$vars['class']
Elgg long text input Displays a long text input field that can use WYSIWYG editor.
Definition: longtext.php:20
elgg_extract_class(array $array, $existing=[], $extract_key= 'class')
Extract class names from an array, optionally merging into a preexisting set.
Definition: elgglib.php:569
$text
Definition: longtext.php:15
elgg_format_element($tag_name, array $attributes=[], $text= '', array $options=[])
Format an HTML element.
Definition: output.php:135
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 echo
Translates a string.
Definition: deprecated.js:530