Actions

API16

JPane/getInstance

< API16:JPane

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

Returns a JPanel object.



Syntax

static getInstance($behavior= 'Tabs', $params=array())
Parameter Name Default Value Description
$behavior 'Tabs' $behavior The behavior to use.
$params array() $useCookies Use cookies to remember the state of the panel.

Returns

object

Defined in

libraries/joomla/html/pane.php

Importing

jimport( 'joomla.html.pane' );

Source Body

public static function getInstance($behavior = 'Tabs', $params = array())
{
        $classname = 'JPane'.$behavior;
        $instance = new $classname($params);
 
        return $instance;
}



Examples

Code Examples


Advertisement