Elgg  Version 2.2
Namespaces | Variables
button.php File Reference

Go to the source code of this file.


 Save menu items.


 $vars ['class'] = (array) elgg_extract('class', $vars, [])
 $vars ['class'][] = "elgg-button"
 $defaults = ['type' => 'button']
switch($vars['type']) if (isset($vars['src'])&&strpos($vars['src'], elgg_get_site_url())===false)

Variable Documentation

$defaults = ['type' => 'button']

Definition at line 15 of file button.php.

$vars = (array) elgg_extract('class', $vars, [])

Definition at line 12 of file button.php.

$vars['class'][] = "elgg-button"

Definition at line 13 of file button.php.

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

Definition at line 31 of file button.php.