Actions

API16

JPane/getInstance

From Joomla! Documentation

< API16:JPane
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Returns a JPanel object.

[Edit Descripton]

Description:JPane/getInstance

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;
}

[Edit See Also] SeeAlso:JPane/getInstance

Examples

<CodeExamplesForm />