Elgg  Version 3.0
Namespaces | Variables
url.php File Reference

Go to the source code of this file.


 Configuration exception.


 $excerpt_length = elgg_extract('excerpt_length', $vars, 100)
if(!empty($vars['confirm'])&&!isset($vars['is_action'])) if(!empty($vars['confirm'])) $url = elgg_extract('href', $vars, null)
if($url===false) if(!$url &&isset($vars['value'])) if(isset($vars['text'])) else
 $vars ['class'] = elgg_extract_class($vars, 'elgg-anchor')
if($text!==false &&$text!== '') $icon = elgg_extract('icon', $vars, '')
if($icon &&!preg_match('/^</', $icon$icon_alt ) = elgg_extract('icon_alt', $vars, '')
if($icon_alt &&!preg_match('/^</', $icon_alt) $badge ) = elgg_extract('badge', $vars)
 if (!is_null($badge))

Variable Documentation

if ($icon_alt &&!preg_match('/^</', $icon_alt) $badge) = elgg_extract('badge', $vars)

Definition at line 125 of file url.php.

$excerpt_length = elgg_extract('excerpt_length', $vars, 100)

Definition at line 25 of file url.php.

if ($text!==false &&$text!== '') $icon = elgg_extract('icon', $vars, '')

Definition at line 107 of file url.php.

if ($icon &&!preg_match('/^</', $icon) $icon_alt) = elgg_extract('icon_alt', $vars, '')

Definition at line 116 of file url.php.

if (!empty($vars['confirm'])&&!isset($vars['is_action'])) if (!empty($vars['confirm'])) $url = elgg_extract('href', $vars, null)

Definition at line 41 of file url.php.

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

Definition at line 99 of file url.php.

if ($url===false) if (!$url &&isset($vars['value'])) if (isset($vars['text'])) else
Initial value:
$text = htmlspecialchars(elgg_get_excerpt($url, $excerpt_length), ENT_QUOTES, 'UTF-8', false)
Definition: url.php:25
if(!empty($vars['confirm'])&&!isset($vars['is_action'])) if(!empty($vars['confirm'])) $url
Definition: url.php:41
Definition: default.php:28
elgg_get_excerpt($text, $num_chars=250)
Returns an excerpt.
Definition: output.php:74

Definition at line 58 of file url.php.


Definition at line 128 of file url.php.