Elgg  Version 1.11
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

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

Definition at line 18 of file button.php.

◆ $vars

$vars = array_merge($defaults, $vars)

Definition at line 22 of file button.php.

◆ else

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

Definition at line 14 of file button.php.

◆ if

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

Definition at line 36 of file button.php.