API16

JHtmlTabs/start

From Joomla! Documentation

< API16:JHtmlTabs

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Creates a panes and creates the JavaScript object for it.


<! removed transcluded page call, red link never existed >

Syntax[edit]

static start($group='tabs', $params=array())
Parameter Name Default Value Description
$group 'tabs' The pane identifier
$params array() An array of option.

Returns[edit]

string

Defined in[edit]

libraries/joomla/html/html/tabs.php

Importing[edit]

jimport( 'joomla.html.html.tabs' );

Source Body[edit]

public static function start($group='tabs', $params=array())
{
        JHtmlTabs::_loadBehavior($group,$params);
        array_push(JHtmlTabs::$opened,false);

        return '<dl class="tabs" id="'.$group.'">';
}


<! removed transcluded page call, red link never existed >

Examples[edit]

Code Examples[edit]