/** * Constructor * * @author Gruz <*****@*****.**> */ public function __construct(&$subject, $config) { parent::__construct($subject, $config); $jinput =& JFactory::getApplication()->input; if ($jinput->get('option', null) == 'com_dump') { return; } $this->getGroupParams('{overridegroup'); // Get variable fields params parsed in a nice way, stored to $this->pparams }
/** * Constructor. * * @param object &$subject The object to observe. * @param array $config An optional associative array of configuration settings. */ public function __construct(&$subject, $config) { parent::__construct($subject, $config); $this->_preparePluginHasBeenSavedOrAppliedFlag(); }