Exemplo n.º 1
0
 public function __construct(KConfig $config)
 {
     parent::__construct($config);
     // TODO To be removed as soon as the problem with language files loading on HMVC calls is solved
     JFactory::getLanguage()->load('com_logman', JPATH_ADMINISTRATOR);
     $this->registerCallback('before.get', array($this, 'setPluginWarning'));
     $this->registerCallback('before.get', array($this, 'purgeOldActivities'));
     $this->registerCallback('after.add', array($this, 'handleErrors'));
 }