/webtrees/app/ |
H A D | Relationship.php | 59 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 D | Validator.php | 282 $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 D | DatatablesService.php | 47 * @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 D | statistics.js | 119 addCallback (callback) { argument 121 google.charts.setOnLoadCallback(callback); 123 this.callbacks.push(callback); 127 callback();
|
H A D | webtrees.js | 777 load: function (query, callback) { 784 callback(json.data); 786 .catch(callback);
|
/webtrees/app/Http/RequestHandlers/ |
H A D | ManageMediaData.php | 113 $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 D | ReorderMediaAction.php | 68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear… 69 uksort($sort_facts, $callback);
|
H A D | ReorderMediaFilesAction.php | 68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear… 69 uksort($sort_facts, $callback);
|
H A D | ReorderFamiliesAction.php | 70 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear… 71 uksort($sort_facts, $callback);
|
H A D | ReorderNamesAction.php | 68 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear… 69 uksort($sort_facts, $callback);
|
H A D | ReorderChildrenAction.php | 70 …$callback = static fn (string $x, string $y): int => array_search($x, $order, true) <=> array_sear… 71 uksort($sort_facts, $callback);
|
H A D | DataFixData.php | 79 $callback = function (object $row) use ($module, $params, $tree): array { 110 return $this->datatables_service->handleCollection($request, $records, [], [], $callback);
|
H A D | PendingChangesLogData.php | 81 $callback = function (object $row) use ($tree): array { 129 return $this->datatables_service->handleQuery($request, $query, [], [], $callback);
|
H A D | UserListData.php | 125 $callback = function (object $row) use ($languages, $user): array { 150 …this->datatables_service->handleQuery($request, $query, $search_columns, $sort_columns, $callback);
|
H A D | MapDataImportAction.php | 162 …$callback = static fn (array $place): bool => !str_contains($place['name'], ',') || $place['longit… 164 $places = array_filter($places, $callback);
|
/webtrees/ |
H A D | phpstan-baseline.neon | 700 …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 D | NotesTabModule.php | 139 …$callback = static fn (Fact $fact): bool => preg_match('/(?:^1|\n\d) NOTE/', $fact->gedcom()) === … 141 $this->facts = $facts->filter($callback);
|
H A D | FixWtObjeSortTag.php | 141 $callback = static function (Fact $x, Fact $y) use ($wt_obje_sort): int { 152 ->sort($callback);
|
H A D | LifespansChartModule.php | 259 $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 D | CensusTableContinueParser.php | 84 $callback = static function (string $text): string { variable in Fisharebest\\Webtrees\\CommonMark\\CensusTableContinueParser 95 $cells = array_map($callback, $cells);
|
/webtrees/app/Http/Middleware/ |
H A D | ErrorHandler.php | 36 set_error_handler(callback: $this->errorHandler(...));
|
/webtrees/app/Cli/Commands/ |
H A D | TreeList.php | 44 $trees = $this->tree_service->all()->sort(callback: fn ($a, $b) => $a->id() <=> $b->id());
|
H A D | UserList.php | 47 $users = $this->user_service->all()->sort(callback: fn ($a, $b) => $a->id() <=> $b->id());
|
/webtrees/tests/ |
H A D | TestCase.php | 289 return self::callback(static function (mixed $parameter) use ($parameters): bool {
|
/webtrees/public/ckeditor-4.15.1-custom/ |
H A D | CHANGES.md | 19 …/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.…
|