Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 120) sorted by relevance

12345

/webtrees/tests/app/
H A DAgeTest.php31 $x = new Date('27 APR 2019');
33 $age = new Age($x, $y);
43 $x = new Date('APR 2019');
45 $age = new Age($x, $y);
55 $x = new Date('2019');
57 $age = new Age($x, $y);
67 $x = new Date('13 FEB 2019');
69 $age = new Age($x, $y);
79 $x = new Date('');
81 $age = new Age($x, $y);
[all …]
/webtrees/app/Module/
H A DAbstractIndividualListModule.php210 …$variants = array_map(static fn (string $x): string => $x === '' ? I18N::translate('No surname') :…
314 $filter = static fn (string $x): bool => $x === Individual::NOMEN_NESCIO;
317 $filter = static fn (string $x): bool => $x === '';
321 … $filter = static fn (string $x): bool => $x !== '' && $x !== Individual::NOMEN_NESCIO;
323 $filter = static fn (string $x): bool => $x === $surname;
328 … $filter = static fn (string $x): bool => I18N::language()->initialLetter($x) === $alpha;
330 $filter = static fn (string $x): bool => $x === $surname;
372 … $count = array_sum(array_map(static fn (array $x): int => array_sum($x), $all_surnames));
380 … $all_surnames = array_values(array_map(static fn ($x): array => array_keys($x), $all_surnames));
425 … static fn (string $x): bool => I18N::language()->initialLetter($x) === $alpha,
[all …]
H A DRelationshipsChartModule.php335 $x = 0;
351 …$table[$x + 1][$y] = '<div style="background:url(' . e(asset('css/images/hline.png')) . ') repeat-…
352 $x += 2;
358 …$table[$x + 1][$y - 1] = '<div style="background:url(' . $diagonal2 . '); width: 64px; height: 64p…
359 $x += 2;
361 …$table[$x][$y - 1] = '<div style="background:url(' . e('"' . asset('css/images/vline.png') . '"') …
369 …$table[$x + 1][$y + 1] = '<div style="background:url(' . $diagonal1 . '); background-position: top…
370 $x += 2;
372 …$table[$x][$y + 1] = '<div style="background:url(' . e('"' . asset('css/images/vline.png') . '"') …
377 $max_x = max($max_x, $x);
[all …]
H A DStatisticsChartModule.php834 $boundaries = array_map(static fn (string $x): int => (int) $x, $boundaries);
862 * @param int|string $x
871 private function fillYData($x, $z, $value, array $x_axis, array $z_axis, array &$ydata): void argument
873 $x = $this->findAxisEntry($x, $x_axis);
886 $ydata[$z][$x] = ($ydata[$z][$x] ?? 0) + $value;
954 foreach (array_keys($x_axis) as $x) {
955 $tmp[$z][$x] = $ydata[$z][$x] ?? 0;
963 array_walk($ydata, static function (array &$x) {
964 $sum = array_sum($x);
966 $x = array_map(static fn (float $y): float => $y * 100.0 / $sum, $x);
H A DRecentChangesModule.php120 …$rows = $rows->sort(static fn (object $x, object $y): int => GedcomRecord::nameComparator()($x->r…
125 … $rows = $rows->sort(static fn (object $x, object $y): int => $x->time <=> $y->time);
131 … $rows = $rows->sort(static fn (object $x, object $y): int => $y->time <=> $x->time);
/webtrees/app/Report/
H A DReportPdfImage.php46 if ($this->x === ReportBaseElement::CURRENT_POSITION) {
47 $this->x = $renderer->tcpdf->GetX();
50 $this->x = $renderer->addMarginX($this->x);
55 …cpage && $lastpicbottom >= $renderer->tcpdf->GetY() && $this->x >= $lastpicleft && $this->x <= $la…
65 $renderer->tcpdf->getPageWidth() - $this->x,
79 $this->x,
93 $lastpicleft = $this->x;
94 $lastpicright = $this->x + $this->width;
H A DPdfRenderer.php221 * @param float $x Static position
225 public function addMarginX(float $x): float argument
229 $x += $m['right'];
231 $x += $m['left'];
233 $this->tcpdf->setX($x);
235 return $x;
491 * @param float $x
500 …public function createImage(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
502 return new ReportPdfImage($file, $x, $y, $w, $h, $align, $ln);
509 * @param float $x
[all …]
H A DHtmlRenderer.php308 * @param float $x
317 …public function createImage(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
319 return new ReportHtmlImage($file, $x, $y, $w, $h, $align, $ln);
326 * @param float $x
337 float $x, argument
344 …return new ReportHtmlImage($media_file->imageUrl((int) $w, (int) $h, 'crop'), $x, $y, $w, $h, $ali…
591 * @param float $x
595 public function setX(float $x): void argument
597 $this->X = $x;
622 * @param float $x
[all …]
H A DReportHtmlImage.php39 if ($this->x === ReportBaseElement::CURRENT_POSITION) {
40 $this->x = $renderer->getX();
44 …$lastpicpage && $lastpicbottom >= $renderer->getY() && $this->x >= $lastpicleft && $this->x <= $la…
65 …this->file, '" style="position:absolute;', $renderer->alignRTL, ':', $this->x, 'pt;top:', $this->y…
69 $lastpicleft = $this->x;
70 $lastpicright = $this->x + $this->width;
H A DReportBaseImage.php37 public float $x; variable in Fisharebest\\Webtrees\\Report\\ReportBaseImage
52 * @param float $x X-position (left) of the image
59 …public function __construct(string $file, float $x, float $y, float $w, float $h, string $align, s… argument
64 $this->x = $x;
/webtrees/app/Http/RequestHandlers/
H A DSearchAdvancedPage.php153 …$fields = array_map(static fn (string $x): string => preg_replace('/^\s+|\s+$/uD', '', $x), $field…
155 $search_fields = array_filter($fields, static fn (string $x): bool => $x !== '');
160 $fn = static fn (string $x, string $y): string => $x . '=' . $y;
196 $comparator = static function (string $x, string $y): int {
199 …$label1 = $element_factory->make(strtr($x, [':DATE' => '', ':PLAC' => '', ':TYPE' => '']))->label(…
202 return I18N::comparator()($label1, $label2) ?: strcmp($x, $y);
H A DFamilyPage.php148 ->filter(static fn (string $x): bool => $x !== Individual::PRAENOMEN_NESCIO)
154 $meta_facts = array_map(static fn (string $x): string => strip_tags($x), $meta_facts);
155 $meta_facts = array_map(static fn (string $x): string => trim($x), $meta_facts);
H A DCalendarEvents.php97 …->sort(static fn (Fact $x, Fact $y): int => $x->date()->minimumJulianDay() <=> $y->date()->minimum…
104 ->map(static fn (Fact $x): string => $x->record()->xref())
109 ->map(static fn (Fact $x): string => $x->record()->xref())
H A DManageTrees.php75 $all_trees = $all_trees->filter(static function (Tree $x) use ($tree, $default): bool {
76 if ($x->getPreference('imported') === '0') {
79 if ($tree instanceof Tree && $tree->id() === $x->id()) {
83 return $x->name() === $default;
H A DUnconnectedPage.php96 $component = array_map(static fn ($x): string => strtolower((string) $x), $component);
108 …usort($individual_groups, static fn (Collection $x, Collection $y): int => count($x) <=> count($y)…
/webtrees/app/Statistics/Service/
H A DColorService.php55 for ($x = 1; $x < $steps; ++$x) {
57 (int) round($s[0] + $factorR * $x),
58 (int) round($s[1] + $factorG * $x),
59 (int) round($s[2] + $factorB * $x)
/webtrees/app/Services/
H A DCaptchaService.php47 $x = Registry::idFactory()->uuid();
52 Session::put('captcha-x', $x);
57 'x' => $x,
73 $x = Session::pull('captcha-x');
78 assert(is_string($x));
82 $value_x = Validator::parsedBody($request)->string($x, '');
H A DModuleService.php765 …return static fn (ModuleFooterInterface $x, ModuleFooterInterface $y): int => $x->getFooterOrder()…
775 …return static fn (ModuleMenuInterface $x, ModuleMenuInterface $y): int => $x->getMenuOrder() <=> $…
785 …return static fn (ModuleSidebarInterface $x, ModuleSidebarInterface $y): int => $x->getSidebarOrde…
795 …return static fn (ModuleTabInterface $x, ModuleTabInterface $y): int => $x->getTabOrder() <=> $y->…
808 return static function (ModuleInterface $x, ModuleInterface $y): int {
809 … $title1 = $x instanceof ModuleLanguageInterface ? $x->locale()->endonymSortable() : $x->title();
825 …->sort(static fn (ModuleLanguageInterface $x, ModuleLanguageInterface $y): int => $x->locale()->en…
H A DCalendarService.php239 …$facts = $facts->sort(static fn (Fact $x, Fact $y): int => $x->jd <=> $y->jd ?: $x->date()->minimu…
243 …acts = $facts->sort(static fn (Fact $x, Fact $y): int => $x->jd <=> $y->jd ?: $y->date()->minimumJ…
247 …$facts = $facts->sort(static fn (Fact $x, Fact $y): int => GedcomRecord::nameComparator()($x->reco…
/webtrees/app/
H A DFamily.php72 …return static fn (Family $x, Family $y): int => Date::compare($x->getMarriageDate(), $y->getMarria…
323 …b_names = array_filter($this->husb->getAllNames(), static fn (array $x): bool => $x['type'] !== '_…
339 …e_names = array_filter($this->wife->getAllNames(), static fn (array $x): bool => $x['type'] !== '_…
H A DAge.php42 * @param Date $x The first date
45 public function __construct(Date $x, Date $y) argument
48 $start = $x->minimumDate();
68 $this->is_valid = $x->isOK() && $y->isOK();
/webtrees/resources/views/lists/
H A Dsurnames-tag-cloud.phtml19 $maximum = max(array_map(static fn (array $x): int => max($x), $surnames));
20 $minimum = min(array_map(static fn (array $x): int => min($x), $surnames));
/webtrees/resources/css/
H A Dclouds.css32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
39 overflow-x: hidden;
89 background: #c8e7ff url(clouds/images/background.png) repeat-x fixed top left;
94 background: #acf url(clouds/images/clouds.png) repeat-x;
182 /* All menu icons are 22px x 22px */
196 /* All submenu icons are 22px x 22px */
534 .wt-individual-silhouette-x {
581 .wt-chart-box-x,
582 .wt-chart-box-x .wt-chart-box-dropdown {
[all …]
H A Dminimal.css32 --sex-x-bg: #ffffff;
33 --sex-x-fg: #888888;
43 overflow-x: hidden;
264 .wt-individual-silhouette-x {
311 .wt-chart-box-x,
312 .wt-chart-box-x .wt-chart-box-dropdown {
313 background: var(--sex-x-bg);
314 border: solid var(--sex-x-fg) thin;
780 .wt-icon-sex-x {
781 color: var(--sex-x-fg);
[all …]
H A Dfab.css32 --sex-x-bg: #fceaa1;
33 --sex-x-fg: #ffab57;
45 overflow-x: hidden;
300 .wt-individual-silhouette-x {
349 .wt-chart-box-x,
350 .wt-chart-box-x .wt-chart-box-dropdown {
351 background: var(--sex-x-bg);
352 border: solid var(--sex-x-fg) thin;
478 .wt-facts-table .wt-sex-x > td {
479 background-color: var(--sex-x-bg);
[all …]

12345