Martin Cooper
unread,Aug 20, 2012, 6:49:56 AM8/20/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to joomla-de...@googlegroups.com
Hi,
you seem to be confusing static and non-static methods in your code, something like this seems to be what you want:
class plgsystemMyplugin extends JPlugin
{
private static $pattern;
public static function disallow($arrScript)
{
self::$pattern=$arrScript;
}
public function onBeforeRender()
{
var_dump(self::$pattern);
}
}
Regards,
Martin