| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: plugin.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 118 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JPlugin:: (3 methods):
JPlugin()
__construct()
loadLanguage()
| JPlugin(& $subject, $config = array() X-Ref |
| 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. param: object $subject The object to observe param: array $config An optional associative array of configuration settings. |
| __construct(& $subject, $config = array() X-Ref |
| Constructor |
| loadLanguage($extension = '', $basePath = JPATH_BASE) X-Ref |
| Loads the plugin language file param: string $extension The extension for which a language file should be loaded param: string $basePath The basepath to use return: boolean True, if the file has successfully loaded. |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |