references:joomla.framework:html:jbutton-__constructTable of Contents
__construct
Button constructor. Stores a reference to the instantiating object (parent). SyntaxJButton __construct ( $parent )
ExamplesThe button classes are instantiated by the JToolBar class in the following way: Example $this->_buttons[$signature] = new $buttonClass($this); The JToolBar object passes a reference to itself as the parent object. Discussion |


