Elgg  Version 1.9
Variables
tabs.php File Reference

Go to the source code of this file.

Variables

 $options = _elgg_clean_vars($vars)
 Tab navigation. More...
 
 $type = elgg_extract('type', $vars, 'horizontal')
 
if($type== 'horizontal') else
 
 $attributes = elgg_format_attributes($options)
 

Variable Documentation

$attributes = elgg_format_attributes($options)

Definition at line 33 of file tabs.php.

$options = _elgg_clean_vars($vars)

Tab navigation.

string $vars['type'] horizontal || vertical - Defaults to horizontal string $vars['class'] Additional class to add to ul array $vars['tabs'] A multi-dimensional array of tab entries in the format array( 'text' => string, // The string between the tags 'href' => string, // URL for the link 'class' => string // Class of the li element 'id' => string, // ID of the li element 'selected' => bool // if this tab is currently selected (applied to li element) 'link_class' => string, // Class to pass to the link 'link_id' => string, // ID to pass to the link )

Definition at line 17 of file tabs.php.

$type = elgg_extract('type', $vars, 'horizontal')

Definition at line 19 of file tabs.php.

if ($type== 'horizontal') else
Initial value:
{
$options['class'] = "elgg-tabs elgg-vtabs"
$options
Tab navigation.
Definition: tabs.php:17

Definition at line 23 of file tabs.php.