/** * * updateGroupUsers * * @param String $ErrorString * @param String $StatusString */ public function updateGroupUsers($ErrorString = "", $StatusString = "") { if (Controler_Main::getInstance()->getUserLevel() < BACKEND_USERLEVEL) { $ControlerStart = new Controler_Start(); $ControlerStart->start(); return false; } $Request = new Request(); $ErrorString = ""; $StatusString = ""; $UserGroupFinder = new UserGroupFinder(); $Controler_Main = Controler_Main::getInstance(); if (strlen($Request->getAsString("tb_UserGroupName")) < 3) { $ErrorString .= ":T_USER_GROUP_ERROR1:"; } if (strlen($Request->getAsString("tb_UserGroupName"))) { $UserGroup = $UserGroupFinder->findByName($Request->getAsString("tb_UserGroupName")); if ($Group->getId() != 0) { $ErrorString .= ":T_USER_GROUP_ERROR2:"; } } if (strlen($ErrorString) != 0) { $this->showEditGroup($ErrorString, $StatusString); return false; } $UserGroup = new UserGroup(); $UserGroupManager = new UserGroupManager(); $UserGroup = $Request->getAsString("tb_UserGroupName"); $UserGroupID = $Request->getAsString("UserGroupID"); $this->showEditUserGroup("", ":T_USER_GROUP_UPDATED_STATUS:"); }