Skip to content

Commit

Permalink
new event added onDigicomPrepareView on controller root
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsbd71 committed Sep 24, 2016
1 parent 345cad2 commit ec7e678
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/com_digicom/site/controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public function display($cachable = false, $urlparams = false)
return;
}

$dispatcher = JEventDispatcher::getInstance();
JPluginHelper::importPlugin('digicom');
$dispatcher->trigger('onDigicomPrepareView', array ('com_digicom.controller', &$cachable, &$urlparams, &$safeurlparams));

return parent::display($cachable, $safeurlparams);
}

Expand Down

0 comments on commit ec7e678

Please sign in to comment.