Elgg  Version 2.3
Variables
longtext.php File Reference

Go to the source code of this file.

Variables

 $vars ['class'] = elgg_extract_class($vars, 'elgg-output')
 Displays HTML, with new lines converted to line breaks. More...
 
 $parse_urls = elgg_extract('parse_urls', $vars, true)
 
 $parse_emails = elgg_extract('parse_emails', $vars, true)
 
 $sanitize = elgg_extract('sanitize', $vars, true)
 
 $autop = elgg_extract('autop', $vars, true)
 
 $text = $vars['value']
 
if($parse_urls) if($parse_emails) if($sanitize) if ($autop)
 

Variable Documentation

$autop = elgg_extract('autop', $vars, true)

Definition at line 24 of file longtext.php.

$parse_emails = elgg_extract('parse_emails', $vars, true)

Definition at line 18 of file longtext.php.

$parse_urls = elgg_extract('parse_urls', $vars, true)

Definition at line 15 of file longtext.php.

$sanitize = elgg_extract('sanitize', $vars, true)

Definition at line 21 of file longtext.php.

$text = $vars['value']

Definition at line 27 of file longtext.php.

$vars['class'] = elgg_extract_class($vars, 'elgg-output')

Displays HTML, with new lines converted to line breaks.

$vars['value'] HTML to display $vars['class'] $vars['parse_urls'] Turn urls into links? Default is true. $vars['parse_emails'] Turn email addresses into mailto links? Default is true. $vars['sanitize'] Sanitize HTML? (highly recommended) Default is true. $vars['autop'] Convert line breaks to paragraphs? Default is true.

Definition at line 13 of file longtext.php.

if ($parse_urls) if ($parse_emails) if ($sanitize) if($autop)

Definition at line 42 of file longtext.php.