Elgg  Version 3.0
Variables
tabs.php File Reference

Go to the source code of this file.

Variables

 $tabs = elgg_extract('tabs', $vars)
 Tab navigation. More...
 
foreach($tabs as $index=> &$tab) $options = $vars
 
 $type = elgg_extract('type', $vars, 'horizontal')
 
 $class
 
if($type== 'horizontal') else
 
 $options ['class'] = elgg_extract_class($options, $class)
 
 $options ['items'] = $tabs
 

Variable Documentation

Initial value:
= [
'elgg-tabs',
]

Definition at line 62 of file tabs.php.

foreach ($tabs as $index=> &$tab) $options = $vars

Definition at line 57 of file tabs.php.

$options['class'] = elgg_extract_class($options, $class)

Definition at line 71 of file tabs.php.

$options['items'] = $tabs

Definition at line 72 of file tabs.php.

$tabs = elgg_extract('tabs', $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 for ElggMenuItem

Definition at line 10 of file tabs.php.

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

Definition at line 59 of file tabs.php.

if ($type== 'horizontal') else
Initial value:
{
$class[] = 'elgg-vtabs'

Definition at line 67 of file tabs.php.