public function Groups() { $Users = new UsersModule(); $this->data = $Users->GetUserGroups(); $tmp = $this->__LoadParameters('users'); foreach ($tmp as $key => $value) { $this->{$key} = $value; } $UserGroupID = _intval($this->_GET['UserGroupID'], true); if ($UserGroupID) { $this->UserGroupDetail = $Users->GetUserGroup($UserGroupID); } }