/** * Constructor * * @param object $subject The object to observe * @param array $config An array that holds the plugin configuration */ public function __construct($subject, $config) { parent::__construct($subject, $config); $this->loadLanguage(); $this->app = JFactory::getApplication(); $this->data = new Data(); self::$self = $this; $this->call(array('System\\Cache', 'prepareEzsetData'), $this); }
/** * Get Easyset Instance. * * @return PlgSystemEzset */ public static function getInstance() { return PlgSystemEzset::getInstance(); }