11 # ---- PUBLIC INTERFACE --------------------------------------------------
54 # if new classes per browse page has been specified
56 $NewValue != $this->UpdateValue(
"NumClassesPerBrowsePage",
DB_NOVALUE))
58 # clear all classification links
60 $this->DB->Query(
"UPDATE Classifications SET LinkString=''");
62 return $this->UpdateValue(
"NumClassesPerBrowsePage", $NewValue);
108 $NewValue = serialize($NewValue);
111 $Result = unserialize($this->UpdateValue(
"DefaultUserPrivs", $NewValue));
113 if (!is_array($Result))
122 {
return $this->UpdateValue($FieldName, $NewValue); }
124 # ---- PRIVATE INTERFACE -------------------------------------------------
128 private function UpdateValue($FieldName, $NewValue, $Table=
"SystemConfiguration")
132 $SignalResult = $GLOBALS[
"AF"]->SignalEvent(
133 "EVENT_SET_SYSCONFIG_VALUE", array(
134 "FieldName" => $FieldName,
135 "NewValue" => $NewValue));
136 $NewValue = $SignalResult[
"NewValue"];
138 $Value = $this->DB->UpdateValue($Table, $FieldName,
139 $NewValue, NULL, $this->DBFields);
140 $SignalResult = $GLOBALS[
"AF"]->SignalEvent(
141 "EVENT_GET_SYSCONFIG_VALUE", array(
142 "FieldName" => $FieldName,
144 $Value = $SignalResult[
"Value"];