Elgg  Version 1.9
Namespaces | Variables
button.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

if(isset($vars['class'])) else
 
 $defaults
 
 $vars = array_merge($defaults, $vars)
 
switch($vars['type']) if (isset($vars['src'])&&strpos($vars['src'], elgg_get_site_url())===false)
 

Variable Documentation

$defaults
Initial value:
= array(
'type' => 'button',
)

Definition at line 18 of file button.php.

$vars = array_merge($defaults, $vars)

Definition at line 22 of file button.php.

if (isset($vars['class'])) else
Initial value:
{
$vars['class'] = "elgg-button"
$vars
Definition: button.php:22

Definition at line 14 of file button.php.

switch ($vars['type']) if(isset($vars['src'])&&strpos($vars['src'], elgg_get_site_url())===false)

Definition at line 36 of file button.php.