API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JPlugin::JPlugin | ( | &$ | subject, |
$ | config = array() |
||
) |
Constructor
For php4 compatability we must not use the __constructor as a constructor for plugins because func_get_args ( void ) returns a copy of all passed arguments NOT references. This causes problems with cross-referencing necessary for the observer design pattern.
object | $subject | The object to observe |
array | $config | An optional associative array of configuration settings. Recognized key values include 'name', 'group', 'params' (this list is not meant to be comprehensive). |
JPlugin::loadLanguage | ( | $ | extension = '' , |
$ | basePath = JPATH_BASE |
||
) |
Loads the plugin language file
public
string | $extension | The extension for which a language file should be loaded |
string | $basePath | The basepath to use |
Références $lang, et JFactory::getLanguage().
Référencé par plgEditorTinymce::onInit(), plgContentPagebreak(), et plgContentVote().
JPlugin::$_name = null |
JPlugin::$_type = null |
JPlugin::$params = null |