/**
  * Set setting value 
  * (you must call insert() or update() to write the settings to the database)
  */
 public function setSetting($ps_setting, $pm_value)
 {
     $this->opa_setting_values = $vm_val = parent::setSetting($ps_setting, $pm_value);
     return $vm_val;
 }
예제 #2
0
 /**
  * Set setting value
  * (you must call insert() or update() to write the settings to the database)
  */
 public function setSetting($ps_setting, $pm_value)
 {
     $this->o_instance->set($this->ops_settings_field, $vm_val = parent::setSetting($ps_setting, $pm_value));
     return $this->o_instance->numErrors() ? false : $vm_val;
 }