Difference between revisions of "Plugin/Events/System"
From Joomla! Documentation
m (moved Talk:Plugin events/System to Talk:Plugin/Events/System: Reogarnizacao of contents) |
(→onBeforeRender doesn't exist: new section) |
||
Line 37: | Line 37: | ||
----------------------------------------- | ----------------------------------------- | ||
+ | |||
+ | == onBeforeRender doesn't exist == | ||
+ | |||
+ | I believe onBeforeRender doesn't actually exist. I can't find the trigger anywhere in the code. Can I delete that from the doc or am I missing something? |
Revision as of 20:46, 26 January 2012
The constructor function has some problem. I believe it is typo error.
class plgSystemExample extends JPlugin {
/** ... */ function plgSystemCache( &$subject, $config ) { parent::__construct( $subject, $config ); ... } ... ...
It should be like this.
class plgSystemExample extends JPlugin {
/** ... */ //function plgSystemCache( &$subject, $config ) // ^^^^^^^^^^^^^^ function plgSystemExample( &$subject, $config ) { parent::__construct( $subject, $config ); ... } ... ...
onBeforeRender doesn't exist[edit]
I believe onBeforeRender doesn't actually exist. I can't find the trigger anywhere in the code. Can I delete that from the doc or am I missing something?