Elgg  Version 2.3
Namespaces | Variables
button.php File Reference

Go to the source code of this file.

Namespaces

 Elgg
 Save menu items.
 

Variables

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

Variable Documentation

◆ $defaults

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

Definition at line 14 of file button.php.

◆ $vars

$vars = elgg_extract_class($vars, 'elgg-button')

Definition at line 12 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 30 of file button.php.