public function setKeyboardNavigationEnabled($value = true) { if (!$value) { TBGSettings::saveSetting(TBGSettings::SETTING_USER_KEYBOARD_NAVIGATION, false, 'core', null, $this->getID()); } else { TBGSettings::deleteSetting(TBGSettings::SETTING_USER_KEYBOARD_NAVIGATION, 'core', null, $this->getID()); } }
public function deleteSetting($setting, $uid = null, $scope = null) { return TBGSettings::deleteSetting($setting, $this->getName(), $scope, $uid); }