Home
last modified time | relevance | path

Searched refs:setting_value (Results 1 – 13 of 13) sorted by relevance

/webtrees/app/
H A DSite.php110 * @param string $setting_value
114 public static function setPreference(string $setting_name, string $setting_value): void argument
117 $setting_value = mb_substr($setting_value, 0, 2000);
119 if (self::getPreference($setting_name) !== $setting_value) {
123 'setting_value' => $setting_value,
126 self::$preferences[$setting_name] = $setting_value;
129 $setting_value = '********';
133 …dConfigurationLog('Site preference "' . $setting_name . '" set to "' . $setting_value . '"', null);
H A DTree.php168 * @param string $setting_value
172 public function setPreference(string $setting_name, string $setting_value): Tree argument
174 if ($setting_value !== $this->getPreference($setting_name)) {
179 'setting_value' => $setting_value,
182 $this->preferences[$setting_name] = $setting_value;
184 …ConfigurationLog('Tree preference "' . $setting_name . '" set to "' . $setting_value . '"', $this);
265 * @param string $setting_value
269 … function setUserPreference(UserInterface $user, string $setting_name, string $setting_value): Tree argument
271 if ($this->getUserPreference($user, $setting_name) !== $setting_value) {
278 'setting_value' => $setting_value,
[all …]
H A DUser.php187 * @param string $setting_value
191 public function setPreference(string $setting_name, string $setting_value): void argument
193 if ($this->getPreference($setting_name) !== $setting_value) {
198 'setting_value' => $setting_value,
201 $this->preferences[$setting_name] = $setting_value;
H A DGuestUser.php100 * @param string $setting_value
104 public function setPreference(string $setting_name, string $setting_value): void argument
106 Session::put('_GUEST_' . $setting_name, $setting_value);
H A DSiteUser.php85 * @param string $setting_value
89 public function setPreference(string $setting_name, string $setting_value): void argument
H A DNoReplyUser.php84 * @param string $setting_value
88 public function setPreference(string $setting_name, string $setting_value): void argument
H A DTreeUser.php104 * @param string $setting_value
108 public function setPreference(string $setting_name, string $setting_value): void argument
/webtrees/app/Module/
H A DAbstractModule.php96 * @param string $setting_value
100 …rotected function setBlockSetting(int $block_id, string $setting_name, string $setting_value): self argument
106 'setting_value' => $setting_value,
191 * @param string $setting_value
195 final public function setPreference(string $setting_name, string $setting_value): void argument
201 'setting_value' => $setting_value,
H A DModuleInterface.php111 * @param string $setting_value
115 public function setPreference(string $setting_name, string $setting_value): void; argument
H A DModuleAnalyticsTrait.php58 * @param string $setting_value
62 abstract public function setPreference(string $setting_name, string $setting_value): void; argument
/webtrees/app/Cli/Commands/
H A DUserCreate.php115 $user->setPreference(setting_name: UserInterface::PREF_TIME_ZONE, setting_value: $timezone);
116 $user->setPreference(setting_name: UserInterface::PREF_LANGUAGE, setting_value: $language);
117 … $user->setPreference(setting_name: UserInterface::PREF_IS_ACCOUNT_APPROVED, setting_value: '1');
118 … $user->setPreference(setting_name: UserInterface::PREF_IS_EMAIL_VERIFIED, setting_value: '1');
119 …$user->setPreference(setting_name: UserInterface::PREF_CONTACT_METHOD, setting_value: 'messaging');
123 … $user->setPreference(setting_name: UserInterface::PREF_IS_ADMINISTRATOR, setting_value: '1');
/webtrees/app/Contracts/
H A DUserInterface.php93 * @param string $setting_value
97 public function setPreference(string $setting_name, string $setting_value): void; argument
/webtrees/
H A Dphpstan-baseline.neon112 …message: '#^Parameter \$setting_value of method Fisharebest\\Webtrees\\User\:\:setPreference\(\) e…
2614 …message: '#^Parameter \#2 \$setting_value of method Fisharebest\\Webtrees\\User\:\:setPreference\(…