Class JButtonPopup

Description

Renders a popup window button

  • since: 11.1

Located in /libraries/joomla/html/toolbar/button/popup.php (line 19)

JObject
   |
   --JButton
      |
      --JButtonPopup
Variable Summary
string $_name
Method Summary
string fetchButton ([string $type = 'Popup'], [string $name = ''], [string $text = ''], [string $url = ''], [integer $width = 640], [integer $height = 480], [integer $top = 0], [integer $left = 0], [string $onClose = ''])
string fetchId (string $type, string $name)
string _getCommand (string $name, string $url, integer $width, integer $height, integer $top, integer $left)
Variables
string $_name = 'Popup' (line 26)

Button type

  • access: protected

Redefinition of:
JButton::$_name
element name

Inherited Variables

Inherited from JButton

JButton::$_parent

Inherited from JObject

JObject::$_errors
Methods
fetchButton (line 45)

Fetch the HTML for the button

  • return: HTML string for the button
  • since: 11.1
  • access: public
string fetchButton ([string $type = 'Popup'], [string $name = ''], [string $text = ''], [string $url = ''], [integer $width = 640], [integer $height = 480], [integer $top = 0], [integer $left = 0], [string $onClose = ''])
  • string $type: Unused string, formerly button type.
  • string $name: Button name
  • string $text: The link text
  • string $url: URL for popup
  • integer $width: Width of popup
  • integer $height: Height of popup
  • integer $top: Top attribute.
  • integer $left: Left attribute
  • string $onClose: JavaScript for the onClose event.

Redefinition of:
JButton::fetchButton()
Get the button
fetchId (line 75)

Get the button id

Redefined from JButton class

  • return: Button CSS Id
  • since: 11.1
  • access: public
string fetchId (string $type, string $name)
  • string $type: Button type
  • string $name: Button name
_getCommand (line 94)

Get the JavaScript command for the button

  • return: JavaScript command string
  • since: 11.1
  • access: protected
string _getCommand (string $name, string $url, integer $width, integer $height, integer $top, integer $left)
  • string $name: Button name
  • string $url: URL for popup
  • integer $width: Unused formerly width.
  • integer $height: Unused formerly height.
  • integer $top: Unused formerly top attribute.
  • integer $left: Unused formerly left attribure.

Inherited Methods

Inherited From JButton

JButton::__construct()
JButton::fetchButton()
JButton::fetchIconClass()
JButton::getName()
JButton::render()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:58:51 -0500 by phpDocumentor 1.4.4