JButton/ construct: Difference between revisions
From Joomla! Documentation
m removing red link to edit, no existant pages |
m preparing for archive only |
||
| (One intermediate revision by the same user not shown) | |||
| Line 2: | Line 2: | ||
Constructor | Constructor | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
| Line 35: | Line 33: | ||
</source> | </source> | ||
<! removed transcluded page call, red link never existed > | <! removed transcluded page call, red link never existed > | ||
===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