Class PlgButtonImage

Description

Editor Image buton

  • since: 1.5

Located in /plugins/editors-xtd/image/image.php (line 19)

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --PlgButtonImage
Variable Summary
Method Summary
 array onDisplay (string $name, string $asset, string $author)
Variables
boolean $autoloadLanguage = true (line 27)

Load the language file on instantiation.

  • since: 3.1
  • access: protected

Redefinition of:
JPlugin::$autoloadLanguage
Affects constructor behavior. If true, language files will be loaded automatically.

Inherited Variables

Inherited from JPlugin

JPlugin::$params
JPlugin::$_name
JPlugin::$_type

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
onDisplay (line 38)

Display the button

  • return: A two element array of (imageName, textToInsert)
  • access: public
array onDisplay (string $name, string $asset, string $author)
  • string $name: The name of the button to display
  • string $asset
  • string $author

Inherited Methods

Inherited From JPlugin

 JPlugin::__construct()
 JPlugin::loadLanguage()

Inherited From JEvent

 JEvent::__construct()
 JEvent::update()

Inherited From JObject

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

Documentation generated on Tue, 19 Nov 2013 15:05:13 +0100 by phpDocumentor 1.4.3