/**
  * Put a setting value, using section name, key, value
  * @param $name
  * @param $key
  * @param $value
  * @return bool|mixed
  */
 public static function putValue($name, $key, $value)
 {
     $configMdl = new ConfigModel();
     $data = $configMdl->get($name);
     if ($data === false) {
         return false;
     }
     if (!($result = json_decode($data[0]['data']))) {
         return false;
     }
     $result->{$key} = $value;
     if ($configMdl->edit($name, json_encode($result)) === false) {
         return false;
     }
     return true;
 }