Home
last modified time | relevance | path

Searched refs:default (Results 1 – 25 of 121) sorted by relevance

12345

/webtrees/app/
H A DValidator.php246 * @param bool|null $default
250 public function boolean(string $parameter, bool|null $default = null): bool argument
262 if ($default === null) {
266 return $default;
289 * @param float|null $default
293 public function float(string $parameter, float|null $default = null): float argument
305 $value = array_reduce($this->rules, $callback, $value) ?? $default;
316 * @param int|null $default
320 public function integer(string $parameter, int|null $default = null): int argument
338 $value = array_reduce($this->rules, $callback, $value) ?? $default;
[all …]
H A DTree.php194 * @param string|null $default
198 public function getPreference(string $setting_name, string|null $default = null): string argument
207 …return $this->preferences[$setting_name] ?? $default ?? self::DEFAULT_PREFERENCES[$setting_name] ?…
295 * @param string $default
299 …public function getUserPreference(UserInterface $user, string $setting_name, string $default = '')… argument
311 return $this->user_preferences[$user->id()][$setting_name] ?? $default;
H A DSiteUser.php74 * @param string $default
78 public function getPreference(string $setting_name, string $default = ''): string argument
80 return $default;
H A DNoReplyUser.php73 * @param string $default
77 public function getPreference(string $setting_name, string $default = ''): string argument
79 return $default;
H A DGuestUser.php87 * @param string $default
91 public function getPreference(string $setting_name, string $default = ''): string argument
95 return is_string($preference) ? $preference : $default;
H A DTreeUser.php73 * @param string $default
77 public function getPreference(string $setting_name, string $default = ''): string argument
79 return $default;
H A DSession.php108 * @param mixed $default
112 public static function get(string $name, $default = null) argument
114 return $_SESSION[$name] ?? $default;
H A DUser.php174 * @param string $default
178 public function getPreference(string $setting_name, string $default = ''): string argument
180 return $this->preferences[$setting_name] ?? $default;
/webtrees/app/Module/
H A DAbstractModule.php76 * @param string $default
80 …final protected function getBlockSetting(int $block_id, string $setting_name, string $default = ''… argument
88 return $settings[$setting_name] ?? $default;
172 * @param string $default
176 final public function getPreference(string $setting_name, string $default = ''): string argument
181 ->value('setting_value') ?? $default;
H A DGeonamesAutocomplete.php90 $default = Site::getPreference('geonames');
91 $username = $this->getPreference('username', $default);
123 $default = Site::getPreference('geonames');
124 $username = $this->getPreference('username', $default);
H A DModuleInterface.php98 * @param string $default
102 public function getPreference(string $setting_name, string $default = ''): string; argument
H A DMapGeoLocationGeonames.php67 $default = Site::getPreference('geonames');
68 $username = $this->getPreference('username', $default);
/webtrees/app/Services/
H A DGedcomEditService.php107 $default = $element->default($record->tree());
108 $gedcom = trim('1 ' . $tag . ' ' . $default);
303 $default = $factory->make($tag . ':' . $subtag)->default($tree);
304 if ($default !== '') {
305 $gedcom .= ' ' . $default;
H A DLeafletJsService.php48 $default = 'openstreetmap';
55 'default' => $map_provider->name() === $default,
/webtrees/app/Http/Middleware/
H A DHandleExceptions.php155 $default = Site::getPreference('DEFAULT_GEDCOM');
156 $tree ??= $this->tree_service->all()[$default] ?? $this->tree_service->all()->first();
187 $default = Site::getPreference('DEFAULT_GEDCOM');
188 $tree ??= $this->tree_service->all()[$default] ?? $this->tree_service->all()->first();
/webtrees/app/Http/RequestHandlers/
H A DManageTrees.php74 $default = Site::getPreference('DEFAULT_GEDCOM');
75 $all_trees = $all_trees->filter(static function (Tree $x) use ($tree, $default): bool {
83 return $x->name() === $default;
H A DSetupWizard.php150 $default = new LocaleEnUs();
152 … $locale = Locale::httpAcceptLanguage($request->getServerParams(), $locales->all(), $default);
206 foreach (self::DEFAULT_DATA as $key => $default) {
207 $data[$key] = Validator::parsedBody($request)->string($key, $default);
H A DHomePage.php60 $default = Site::getPreference('DEFAULT_GEDCOM');
61 $tree = $this->tree_service->all()->get($default) ?? $this->tree_service->all()->first();
/webtrees/app/Contracts/
H A DUserInterface.php85 * @param string $default
89 public function getPreference(string $setting_name, string $default = ''): string; argument
/webtrees/public/ckeditor-4.15.1-custom/skins/moono/
H A Deditor_ie8.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…
H A Deditor_gecko.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…
H A Deditor_ie7.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…
H A Deditor_iequirks.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…
H A Deditor_ie.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…
H A Deditor.css5default}.cke_reset_all fieldset{padding:10px;border:2px groove #e0dfe3}.cke_reset_all select{box-s…

12345