예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * Get Easyset Instance.
  *
  * @return PlgSystemEzset
  */
 public static function getInstance()
 {
     return PlgSystemEzset::getInstance();
 }