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);
107 $NewValue = serialize($NewValue);
110 $Result = unserialize($this->UpdateValue(
"DefaultUserPrivs", $NewValue));
112 if (!is_array($Result))
121 {
return $this->UpdateValue($FieldName, $NewValue); }
123 # ---- PRIVATE INTERFACE -------------------------------------------------
127 private function UpdateValue($FieldName, $NewValue, $Table=
"SystemConfiguration")
131 $SignalResult = $GLOBALS[
"AF"]->SignalEvent(
132 "EVENT_SET_SYSCONFIG_VALUE", array(
133 "FieldName" => $FieldName,
134 "NewValue" => $NewValue));
135 $NewValue = $SignalResult[
"NewValue"];
137 $Value = $this->DB->UpdateValue($Table, $FieldName,
138 $NewValue, NULL, $this->DBFields);
139 $SignalResult = $GLOBALS[
"AF"]->SignalEvent(
140 "EVENT_GET_SYSCONFIG_VALUE", array(
141 "FieldName" => $FieldName,
143 $Value = $SignalResult[
"Value"];