コード例 #1
0
ファイル: _blog.class.php プロジェクト: LFSF/oras
 /**
  * Set a setting.
  *
  * @return boolean true, if the value has been set, false if it has not changed.
  */
 function set_setting($parname, $value, $make_null = false)
 {
     // Make sure collection settings are loaded
     $this->load_CollectionSettings();
     if ($make_null && empty($value)) {
         $value = NULL;
     }
     return $this->CollectionSettings->set($this->ID, $parname, $value);
 }