public function iframeEditAction() { $id = Request::getGET('permission-id', 0); if (empty($id)) { $this->renderIframeError('缺少参数!'); } $permissionInfo = RootPermissionInterface::getById(array('id' => $id)); if (empty($permissionInfo)) { $this->renderIframeError('权限不存在!'); } $this->renderIframe(array('permissionInfo' => $permissionInfo), 'permission/iframe/permission_edit.php'); }