Home
last modified time | relevance | path

Searched refs:parameters (Results 1 – 25 of 41) sorted by relevance

12

/webtrees/app/
H A DValidator.php46 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 DContainer.php88 $parameters = array_map(self::makeParameter(...), $constructor->getParameters());
90 return new $id(...$parameters);
/webtrees/app/Factories/
H A DRouteFactory.php54 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 DResponseFactory.php71 array $parameters = [], argument
74 $url = Registry::routeFactory()->route($route_name, $parameters);
/webtrees/app/Module/
H A DSourceListModule.php89 public function listUrl(Tree $tree, array $parameters = []): string argument
91 $parameters['tree'] = $tree->name();
93 return route(static::class, $parameters);
H A DNoteListModule.php87 public function listUrl(Tree $tree, array $parameters = []): string argument
89 $parameters['tree'] = $tree->name();
91 return route(static::class, $parameters);
H A DSubmitterListModule.php100 public function listUrl(Tree $tree, array $parameters = []): string argument
102 $parameters['tree'] = $tree->name();
104 return route(static::class, $parameters);
H A DLocationListModule.php111 public function listUrl(Tree $tree, array $parameters = []): string argument
113 $parameters['tree'] = $tree->name();
115 return route(static::class, $parameters);
H A DRepositoryListModule.php90 public function listUrl(Tree $tree, array $parameters = []): string argument
92 $parameters['tree'] = $tree->name();
94 return route(static::class, $parameters);
H A DBranchesListModule.php122 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 DMediaListModule.php112 public function listUrl(Tree $tree, array $parameters = []): string argument
114 $parameters['tree'] = $tree->name();
116 return route(static::class, $parameters);
H A DModuleListTrait.php93 public function listUrl(Tree $tree, array $parameters = []): string argument
99 ] + $parameters);
H A DModuleChartTrait.php103 public function chartUrl(Individual $individual, array $parameters = []): string argument
110 ] + $parameters);
H A DPlaceHierarchyListModule.php146 public function listUrl(Tree $tree, array $parameters = []): string argument
148 $parameters['tree'] = $tree->name();
150 return route(static::class, $parameters);
H A DAbstractIndividualListModule.php84 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 DCompactTreeChartModule.php123 public function chartUrl(Individual $individual, array $parameters = []): string argument
128 ] + $parameters);
H A DInteractiveTreeModule.php165 public function chartUrl(Individual $individual, array $parameters = []): string argument
172 ] + $parameters);
H A DFamilyBookChartModule.php128 public function chartUrl(Individual $individual, array $parameters = []): string argument
133 ] + $parameters + self::DEFAULT_PARAMETERS);
H A DDescendancyChartModule.php140 public function chartUrl(Individual $individual, array $parameters = []): string argument
145 ] + $parameters + self::DEFAULT_PARAMETERS);
H A DHourglassChartModule.php131 public function chartUrl(Individual $individual, array $parameters = []): string argument
136 ] + $parameters + self::DEFAULT_PARAMETERS);
H A DAncestorsChartModule.php144 public function chartUrl(Individual $individual, array $parameters = []): string argument
149 ] + $parameters + self::DEFAULT_PARAMETERS);
H A DTimelineChartModule.php120 public function chartUrl(Individual $individual, array $parameters = []): string argument
125 ] + $parameters + self::DEFAULT_PARAMETERS);
H A DPedigreeMapModule.php161 public function chartUrl(Individual $individual, array $parameters = []): string argument
166 ] + $parameters + self::DEFAULT_PARAMETERS);
/webtrees/tests/
H A DTestCase.php287 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 Dfunctions.php111 function route(string $route_name, array $parameters = []): string argument
113 return Registry::routeFactory()->route($route_name, $parameters);

12