create lang object events

This commit is contained in:
Manuel Raynaud
2013-10-22 19:17:27 +02:00
parent 7915552fe6
commit a2d292f6a3
5 changed files with 272 additions and 0 deletions

View File

@@ -67,4 +67,19 @@ class LangController extends BaseAdminController
'lang_id' => $lang_id
));
}
public function processUpdateAction($lang_id)
{
if (null !== $response = $this->checkAuth(AdminResources::LANGUAGE, AccessManager::UPDATE)) return $response;
$error_msg = false;
$langForm = new LangUpdateForm($this->getRequest());
try {
$form = $this->validateForm($langForm);
} catch(\Exception $e) {
}
}
}