Example #1
0
 public function __construct($config = array())
 {
     JForm::addFieldPath(JPATH_COMPONENT_ADMINISTRATOR . '/models/fields');
     JForm::addRulePath(JPATH_COMPONENT_ADMINISTRATOR . '/models/rules');
     require_once JPATH_COMPONENT . DS . 'helpers' . DS . 'itemevents.php';
     $dispatcher = JDispatcher::getInstance();
     $itemevent = new Djcatalog2Itemevents($dispatcher);
     //$config['event_after_save'] = 'onItemAfterSave';
     //$config['event_after_delete'] = 'onItemAfterDelete';
     parent::__construct($config);
 }
Example #2
0
 public function __construct($config = array())
 {
     parent::__construct($config);
 }
Example #3
0
 public function __construct($config = array())
 {
     //$config['event_after_save'] = 'onProducerAfterSave';
     //$config['event_after_delete'] = 'onProducerAfterDelete';
     parent::__construct($config);
 }