public function actionDefault() { $confirm = $this->getParam('confirm'); $execute = $confirm ? true : false; PerfORMController::sqlset($execute); $this->template->confirm = $execute; }