public function hookConstructControllerBackend($controller)
    {
        if ($controller->isQuery('ga.update')) {
            $store_id = $controller->getQuery('ga.update.store_id', '');
            $handler_id = $controller->getQuery('ga.update.handler_id', '');
            $this->getModel()->clearCache($handler_id, $store_id);
            $controller->redirect();
        }
    }
public function hookConstructControllerBackend($controller)
    {
        if ($controller->isQuery('ga.update')) {
            $store_id = $controller->getQuery('ga.update.store_id', '');
            $handler_id = $controller->getQuery('ga.update.handler_id', '');
            $this->getModel()->clearCache($handler_id, $store_id);
            $controller->redirect();
        }
    }
public function hookConstructControllerBackend ( $ controller ) { if ( $ controller -> isQuery ( 'ga.update' ) ) { $ store_id = $ controller -> getQuery ( 'ga.update.store_id' , '' ) ; $ handler_id = $ controller -> getQuery ( 'ga.update.handler_id' , '' ) ; $ this -> getModel ( ) -> clearCache ( $ handler_id , $ store_id ) ; $ controller -> redirect ( ) ; } }
Implements hook "construct.controller.backend"
@param \gplcart\core\controllers\backend\Controller $controller
Implements hook construct . controller . backend