Beispiel #1
0
 /**
  * Add/update a user setting.
  * @param $userId int
  * @param $name string
  * @param $value mixed
  * @param $type string data type of the setting. If omitted, type will be guessed
  * @param $conferenceId int
  */
 function updateSetting($userId, $name, $value, $type = null, $conferenceId = null)
 {
     return parent::updateSetting($userId, $name, $value, $type, ASSOC_TYPE_CONFERENCE, $conferenceId);
 }
 /**
  * Add/update a user setting.
  * @param $userId int
  * @param $name string
  * @param $value mixed
  * @param $type string data type of the setting. If omitted, type will be guessed
  * @param $journalId int
  */
 function updateSetting($userId, $name, $value, $type = null, $journalId = null)
 {
     return parent::updateSetting($userId, $name, $value, $type, ASSOC_TYPE_JOURNAL, $journalId);
 }
Beispiel #3
0
 /**
  * Add/update a user setting.
  * @param $userId int
  * @param $name string
  * @param $value mixed
  * @param $type string data type of the setting. If omitted, type will be guessed
  * @param $pressId int
  */
 function updateSetting($userId, $name, $value, $type = null, $pressId = null)
 {
     return parent::updateSetting($userId, $name, $value, $type, ASSOC_TYPE_PRESS, $pressId);
 }