Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 26) sorted by relevance

12

/webtrees/app/
H A DRelationship.php59 private Closure $callback; variable in Fisharebest\\Webtrees\\Relationship
65 * @param Closure $callback
67 private function __construct(Closure $callback) argument
69 $this->callback = $callback;
89 * @param Closure $callback
93 public static function dynamic(Closure $callback): Relationship argument
95 return new self($callback);
117 return ($this->callback)(...$captures);
H A DValidator.php282 $callback = static fn (array|null $value, Closure $rule): array|null => $rule($value);
284 return array_reduce($this->rules, $callback, $value) ?? [];
303 $callback = static fn (?float $value, Closure $rule): float|null => $rule($value);
305 $value = array_reduce($this->rules, $callback, $value) ?? $default;
336 $callback = static fn (int|null $value, Closure $rule): int|null => $rule($value);
338 $value = array_reduce($this->rules, $callback, $value) ?? $default;
377 $callback = static fn (string|null $value, Closure $rule): string|null => $rule($value);
379 $value = array_reduce($this->rules, $callback, $value) ?? $default;
/webtrees/app/Services/
H A DDatatablesService.php47 * @param Closure $callback Converts a row-object to an array-of-columns.
51 …ction $collection, array $search_columns, array $sort_columns, Closure $callback): ResponseInterfa… argument
106 $data = $data->map($callback)->values()->all();
123 * @param Closure $callback Converts a row-object to an array-of-columns.
127 …t, Builder $query, array $search_columns, array $sort_columns, Closure $callback): ResponseInterfa… argument
176 $data = $data->map($callback)->all();
/webtrees/resources/js/
H A Dstatistics.js119 addCallback (callback) { argument
121 google.charts.setOnLoadCallback(callback);
123 this.callbacks.push(callback);
127 callback();
H A Dwebtrees.js777 load: function (query, callback) {
784 callback(json.data);
786 .catch(callback);
/webtrees/app/Http/RequestHandlers/
H A DManageMediaData.php113 $callback = function (object $row): array {
187 …this->datatables_service->handleQuery($request, $query, $search_columns, $sort_columns, $callback);
208 …this->datatables_service->handleQuery($request, $query, $search_columns, $sort_columns, $callback);
228 $callback = function (array $row) use ($data_filesystem, $media_trees): array {
266 …bles_service->handleCollection($request, $unused_files, $search_columns, $sort_columns, $callback);
H A DReorderMediaAction.php68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear…
69 uksort($sort_facts, $callback);
H A DReorderMediaFilesAction.php68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear…
69 uksort($sort_facts, $callback);
H A DReorderFamiliesAction.php70 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear…
71 uksort($sort_facts, $callback);
H A DReorderNamesAction.php68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear…
69 uksort($sort_facts, $callback);
H A DReorderChildrenAction.php70 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear…
71 uksort($sort_facts, $callback);
H A DDataFixData.php79 $callback = function (object $row) use ($module, $params, $tree): array {
110 return $this->datatables_service->handleCollection($request, $records, [], [], $callback);
H A DPendingChangesLogData.php81 $callback = function (object $row) use ($tree): array {
129 return $this->datatables_service->handleQuery($request, $query, [], [], $callback);
H A DUserListData.php125 $callback = function (object $row) use ($languages, $user): array {
150 …this->datatables_service->handleQuery($request, $query, $search_columns, $sort_columns, $callback);
H A DMapDataImportAction.php162 …$callback = static fn (array $place): bool => !str_contains($place['name'], ',') || $place['longit…
164 $places = array_filter($places, $callback);
/webtrees/
H A Dphpstan-baseline.neon700 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
1534 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
1540 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
1624 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
1708 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
2728 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
3160 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
3238 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
3280 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
3286 …message: '#^Parameter \#1 \$callback of method Illuminate\\Support\\Collection\<\(int\|string\),mi…
[all …]
/webtrees/app/Module/
H A DNotesTabModule.php139 …$callback = static fn (Fact $fact): bool => preg_match('/(?:^1|\n\d) NOTE/', $fact->gedcom()) === …
141 $this->facts = $facts->filter($callback);
H A DFixWtObjeSortTag.php141 $callback = static function (Fact $x, Fact $y) use ($wt_obje_sort): int {
152 ->sort($callback);
H A DLifespansChartModule.php259 $callback = static fn (int $carry, object $item): int => max($carry, $item->row);
260 $max_rows = array_reduce($lifespans, $callback, 0);
/webtrees/app/CommonMark/
H A DCensusTableContinueParser.php84 $callback = static function (string $text): string { variable in Fisharebest\\Webtrees\\CommonMark\\CensusTableContinueParser
95 $cells = array_map($callback, $cells);
/webtrees/app/Http/Middleware/
H A DErrorHandler.php36 set_error_handler(callback: $this->errorHandler(...));
/webtrees/app/Cli/Commands/
H A DTreeList.php44 $trees = $this->tree_service->all()->sort(callback: fn ($a, $b) => $a->id() <=> $b->id());
H A DUserList.php47 $users = $this->user_service->all()->sort(callback: fn ($a, $b) => $a->id() <=> $b->id());
/webtrees/tests/
H A DTestCase.php289 return self::callback(static function (mixed $parameter) use ($parameters): bool {
/webtrees/public/ckeditor-4.15.1-custom/
H A DCHANGES.md19 …/docs/ckeditor4/latest/api/CKEDITOR_scriptLoader.html) does not execute callback for scripts alrea…
766 * [#16639](https://dev.ckeditor.com/ticket/16639): The `callback` parameter in the [`CKEDITOR.ajax.…

12