示例#1
0
 public function clear()
 {
     PluginsSetting::model()->clear($this->identify);
     return TRUE;
 }
示例#2
0
 /**
  * set coustom plugin setting
  * @param string $key setting key
  * @param string $value setting value
  * @return boolean
  */
 public function setSetting($key, $value = NULL)
 {
     return PluginsSetting::model()->set($this->identify, $key, $value);
 }