/webtrees/app/Report/ |
H A D | RightToLeftSupport.php | 34 use function substr; alias 157 $element = substr($workingText, 0, $currentLen); 158 $temp = strtolower(substr($element, 0, 3)); 172 $workingText = substr($workingText, $currentLen); 181 $entity = substr($workingText, 0, $currentLen); 190 $workingText = substr($workingText, $currentLen); 193 if (substr($workingText, 1, 1) === '{') { 200 $directive = substr($workingText, 0, $currentLen); 201 $workingText = substr($workingText, $currentLen); 216 if (substr($workingText . "\n", $offset, 6) === ' ') { [all …]
|
H A D | HtmlRenderer.php | 35 use function substr; alias 683 $out .= substr($string, 0, $spacepos) . "\n"; 684 $string = substr($string, $spacepos + 1);
|
H A D | ReportParserGenerate.php | 81 use function substr; alias 253 return ltrim(substr($gedrec, $pos1)); 255 $subrec = substr($gedrec, $pos1, $pos2 - $pos1); 276 if (substr($thisSubrecord, 0, 2) !== $nlevel . ' ') { 279 $subrecordType = substr($thisSubrecord, 2, 4); 281 $text .= "\n" . substr($thisSubrecord, 7); 1057 if (substr($value, 0, 4) === '<br>') { 1058 $value = substr($value, 4);
|
/webtrees/app/ |
H A D | Soundex.php | 717 $thisEntry = substr($name, $currPos, self::MAXCHAR); // Get maximum length chunk 722 $thisEntry = substr($thisEntry, 0, -1); // Not in table: try a shorter chunk 738 $nextEntry = substr($name, $currPos, self::MAXCHAR); // Get maximum length chunk 743 $nextEntry = substr($nextEntry, 0, -1); // Not in table: try a shorter chunk 785 $result[] = substr($tempResult . '000000', 0, 6); 799 $result[] = substr($tempResult . '000000', 0, 6);
|
H A D | Individual.php | 942 $sublevel = 1 + (int) substr($gedcom, 0, 1); 1007 $full = substr($full, 0, $pos) . '@P.N. ' . substr($full, $pos); 1032 if (strcasecmp(substr($SURN, 0, 2), 'Mc') === 0) { 1034 } elseif (strcasecmp(substr($SURN, 0, 4), 'Mac ') === 0) {
|
/webtrees/tests/ |
H A D | TestCase.php | 53 use function substr; alias 225 $this->validateHtml(substr($html, strlen('<DOCTYPE html>'))); 233 $html = substr($html, strcspn($html, '<>')); 244 $html = substr($html, strlen($match[0])); 269 $html = substr($html, strpos($html, '</script>')); 271 $html = substr($html, strlen($match[0])); 274 static::fail('Unrecognised tag: ' . substr($html, 0, 40));
|
/webtrees/app/GedcomFilters/ |
H A D | GedcomEncodingFilter.php | 19 use function substr; alias 83 $data_in = substr($this->data, 0, $bytes); 86 $this->data = substr($this->data, $bytes);
|
/webtrees/app/Statistics/Repository/ |
H A D | GedcomRepository.php | 34 use function substr; alias 124 $head[1] = substr($head[1], $p, $p2 - $p); 129 $head[1] = substr($head[1], 1);
|
H A D | EventRepository.php | 41 use function substr; alias 94 $no_types[] = substr($type, 1);
|
/webtrees/app/Module/ |
H A D | FanChartModule.php | 64 use function substr; alias 487 (int) hexdec(substr($css_color, 0, 2)), 488 (int) hexdec(substr($css_color, 2, 2)), 489 (int) hexdec(substr($css_color, 4, 2))
|
/webtrees/app/Census/ |
H A D | CensusColumnBirthPlace.php | 49 if (substr($birth_place, -strlen($census_place) - 2) === ', ' . $census_place) { 50 return substr($birth_place, 0, -strlen($census_place) - 2);
|
/webtrees/app/Services/ |
H A D | RomanNumeralsService.php | 24 use function substr; alias 85 $roman = substr($roman, strlen($value));
|
H A D | TreeService.php | 43 use function substr; alias 264 'chunk_data' => substr($file_data, 0, $eol_pos + 1), 267 $file_data = substr($file_data, $eol_pos + 1);
|
H A D | GedcomService.php | 190 $hemisphere = substr($text, 0, 1); 191 $degrees = substr($text, 1);
|
H A D | RelationshipService.php | 43 use function substr; alias 1312 $bef_last = substr($path, -6, 3); 1520 $first = substr($path, 0, 3); 2198 $path1 = substr($path, 0, 3); 2199 $path2 = substr($path, 3); 2210 $path1 .= substr($path2, 0, 3); 2211 $path2 = substr($path2, 3);
|
H A D | EmailService.php | 46 use function substr; alias 190 $domain = substr(strrchr($address->getAddress(), '@') ?: '@', 1);
|
H A D | MediaFileService.php | 55 use function substr; alias 115 $number *= $units[substr($size, -1)] ?? 1;
|
/webtrees/app/Factories/ |
H A D | IdFactory.php | 30 use function substr; alias 91 $checksum_a += hexdec(substr($uid, $i, 2));
|
H A D | RouteFactory.php | 36 use function substr; alias 78 $url = $base_url . substr($url, strlen($base_path));
|
/webtrees/app/Http/RequestHandlers/ |
H A D | ExportGedcomPage.php | 34 use function substr; alias 61 $download_filename = substr($filename, 0, -4);
|
H A D | UploadMediaAction.php | 42 use function substr; alias 82 $key = substr($key, 9);
|
H A D | GedcomLoad.php | 40 use function substr; alias 176 … $data->chunk_data = substr($data->chunk_data, strlen(UTF8::BYTE_ORDER_MARK));
|
H A D | SetupWizard.php | 54 use function substr; alias 234 switch (substr($memory_limit, -1)) {
|
/webtrees/app/CommonMark/ |
H A D | CensusTableContinueParser.php | 37 use function substr; alias 86 return substr($text, strlen(CensusTableExtension::TH_PREFIX));
|
/webtrees/app/Module/InteractiveTree/ |
H A D | TreeView.php | 90 $firstLetter = substr($json_request, 0, 1); 91 $json_request = substr($json_request, 1);
|