/webtrees/app/ |
H A D | Validator.php | 46 private array $parameters; variable in Fisharebest\\Webtrees\\Validator 58 … private function __construct(array $parameters, ServerRequestInterface $request, string $encoding) argument 71 array_walk_recursive($parameters, $check_utf8); 74 $this->parameters = $parameters; 252 $value = $this->parameters[$parameter] ?? null; 276 $value = $this->parameters[$parameter] ?? null; 295 $value = $this->parameters[$parameter] ?? null; 322 $value = $this->parameters[$parameter] ?? null; 354 $value = $this->parameters[$parameter] ?? null; 371 $value = $this->parameters[$parameter] ?? null; [all …]
|
H A D | Container.php | 88 $parameters = array_map(self::makeParameter(...), $constructor->getParameters()); 90 return new $id(...$parameters);
|
/webtrees/app/Factories/ |
H A D | RouteFactory.php | 54 public function route(string $route_name, array $parameters = []): string argument 65 $parameters = array_map(static fn ($var) => is_bool($var) ? (int) $var : $var, $parameters); 68 $url_parameters = array_map(static fn ($var) => $var === '' ? null : $var, $parameters); 73 …$parameters = array_filter($parameters, static fn (string $key): bool => !str_contains($route->pat… 82 $parameters = ['route' => $path] + $parameters; 86 return Html::url($url, $parameters);
|
H A D | ResponseFactory.php | 71 array $parameters = [], argument 74 $url = Registry::routeFactory()->route($route_name, $parameters);
|
/webtrees/app/Module/ |
H A D | SourceListModule.php | 89 public function listUrl(Tree $tree, array $parameters = []): string argument 91 $parameters['tree'] = $tree->name(); 93 return route(static::class, $parameters);
|
H A D | RepositoryListModule.php | 90 public function listUrl(Tree $tree, array $parameters = []): string argument 92 $parameters['tree'] = $tree->name(); 94 return route(static::class, $parameters);
|
H A D | LocationListModule.php | 111 public function listUrl(Tree $tree, array $parameters = []): string argument 113 $parameters['tree'] = $tree->name(); 115 return route(static::class, $parameters);
|
H A D | NoteListModule.php | 87 public function listUrl(Tree $tree, array $parameters = []): string argument 89 $parameters['tree'] = $tree->name(); 91 return route(static::class, $parameters);
|
H A D | SubmitterListModule.php | 100 public function listUrl(Tree $tree, array $parameters = []): string argument 102 $parameters['tree'] = $tree->name(); 104 return route(static::class, $parameters);
|
H A D | BranchesListModule.php | 122 public function listUrl(Tree $tree, array $parameters = []): string argument 131 $parameters['surname'] ??= $individual->getAllNames()[0]['surn'] ?? null; 135 $parameters['tree'] = $tree->name(); 137 return route(static::class, $parameters);
|
H A D | MediaListModule.php | 112 public function listUrl(Tree $tree, array $parameters = []): string argument 114 $parameters['tree'] = $tree->name(); 116 return route(static::class, $parameters);
|
H A D | ModuleListTrait.php | 93 public function listUrl(Tree $tree, array $parameters = []): string argument 99 ] + $parameters);
|
H A D | ModuleChartTrait.php | 103 public function chartUrl(Individual $individual, array $parameters = []): string argument 110 ] + $parameters);
|
H A D | PlaceHierarchyListModule.php | 146 public function listUrl(Tree $tree, array $parameters = []): string argument 148 $parameters['tree'] = $tree->name(); 150 return route(static::class, $parameters);
|
H A D | AbstractIndividualListModule.php | 84 public function listUrl(Tree $tree, array $parameters = []): string argument 95 … $parameters['surname'] ??= $individual->getAllNames()[$primary_name]['surn'] ?? null; 99 $parameters['tree'] = $tree->name(); 101 return route(static::class, $parameters);
|
H A D | CompactTreeChartModule.php | 123 public function chartUrl(Individual $individual, array $parameters = []): string argument 128 ] + $parameters);
|
H A D | FamilyBookChartModule.php | 128 public function chartUrl(Individual $individual, array $parameters = []): string argument 133 ] + $parameters + self::DEFAULT_PARAMETERS);
|
H A D | InteractiveTreeModule.php | 165 public function chartUrl(Individual $individual, array $parameters = []): string argument 172 ] + $parameters);
|
H A D | DescendancyChartModule.php | 140 public function chartUrl(Individual $individual, array $parameters = []): string argument 145 ] + $parameters + self::DEFAULT_PARAMETERS);
|
H A D | AncestorsChartModule.php | 144 public function chartUrl(Individual $individual, array $parameters = []): string argument 149 ] + $parameters + self::DEFAULT_PARAMETERS);
|
H A D | HourglassChartModule.php | 131 public function chartUrl(Individual $individual, array $parameters = []): string argument 136 ] + $parameters + self::DEFAULT_PARAMETERS);
|
H A D | PedigreeMapModule.php | 161 public function chartUrl(Individual $individual, array $parameters = []): string argument 166 ] + $parameters + self::DEFAULT_PARAMETERS);
|
H A D | TimelineChartModule.php | 120 public function chartUrl(Individual $individual, array $parameters = []): string argument 125 ] + $parameters + self::DEFAULT_PARAMETERS);
|
/webtrees/tests/ |
H A D | TestCase.php | 287 protected static function withConsecutive(array $parameters): Callback argument 289 return self::callback(static function (mixed $parameter) use ($parameters): bool { 292 $array ??= $parameters;
|
/webtrees/app/Helpers/ |
H A D | functions.php | 111 function route(string $route_name, array $parameters = []): string argument 113 return Registry::routeFactory()->route($route_name, $parameters);
|