JButton/ construct: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 37: | Line 37: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=__construct | category=__construct | ||
category=JButton | category=JButton | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:20, 25 March 2017
Description
Constructor
<! removed transcluded page call, red link never existed >
Syntax
__construct($parent=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $parent | null |
Defined in
libraries/joomla/html/toolbar/button.php
Importing
jimport( 'joomla.html.toolbar.button' );
Source Body
public function __construct($parent = null)
{
$this->_parent = $parent;
}
<! removed transcluded page call, red link never existed >
Examples
Code Examples