public function editStaticTranslation($get_key) { if (Session::hasUser('admin')) { $adminModel = new AdminModel(); $texts = $adminModel->getStaticTranslationByKey($get_key); $args = array('key' => $get_key, 'text_en' => $texts['text_en'], 'text_uk' => $texts['text_uk']); return $this->render_edit_static_translation($args); } else { throw new Exception('Access denied', 403); } }