API16

API16:JPaneTabs/startPanel

From Joomla! Documentation

Description

Creates a tab panel with title text and starts that panel.



Syntax

startPanel($text, $id)
Parameter Name Default Value Description
$text $text The name of the tab
$id $id The tab identifier

Defined in

libraries/joomla/html/pane.php

Importing

jimport( 'joomla.html.pane' );

Source Body

public function startPanel($text, $id)
{
        return '<dt class="'.$id.'"><span>'.$text.'</span></dt><dd>';
}



Examples

Code Examples