예제 #1
0
 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());
     }
 }
예제 #2
0
 public function deleteSetting($setting, $uid = null, $scope = null)
 {
     return TBGSettings::deleteSetting($setting, $this->getName(), $scope, $uid);
 }