Home
last modified time | relevance | path

Searched refs:reverseText (Results 1 – 3 of 3) sorted by relevance

/webtrees/tests/app/
H A DI18NTest.php58 self::assertSame(I18N::reverseText(''), '');
59 self::assertSame(I18N::reverseText('abc123'), 'abc123');
60 self::assertSame(I18N::reverseText('<b>abc</b>123'), 'abc123');
61 self::assertSame(I18N::reverseText('&lt;abc&gt;'), '<abc>');
62 self::assertSame(I18N::reverseText('abc[123]'), 'abc[123]');
63 self::assertSame(I18N::reverseText($rtl_123), $rtl_123);
64 self::assertSame(I18N::reverseText($rtl_abc), $rtl_cba);
65 self::assertSame(I18N::reverseText($rtl_abc . '123'), '123' . $rtl_cba);
66 self::assertSame(I18N::reverseText($rtl_abc . '[123]'), '[123]' . $rtl_cba);
67 self::assertSame(I18N::reverseText('123' . $rtl_abc . '456'), '456' . $rtl_cba . '123');
[all …]
/webtrees/app/Module/
H A DFanChartModule.php388 I18N::reverseText($individual->fullName()),
389 I18N::reverseText($individual->alternateName() ?? ''),
390 I18N::reverseText($individual->lifespan()),
/webtrees/app/
H A DI18N.php437 public static function reverseText(string $text): string function in Fisharebest\\Webtrees\\I18N