Home
last modified time | relevance | path

Searched refs:tokenValue (Results 1 – 2 of 2) sorted by relevance

/dokuwiki/inc/Search/Collection/
H A DTerm.php133 * @param string $tokenValue
136 public function matches(string $tokenValue): bool argument
139 $tokenValue = PhpString::strtolower($tokenValue);
143 self::WILDCARD_NONE => $this->base === $tokenValue,
144 self::WILDCARD_END => str_starts_with($tokenValue, $this->base),
145 self::WILDCARD_START => str_ends_with($tokenValue, $this->base),
146 default => str_contains($tokenValue, $this->base),
H A DCollectionSearch.php112 foreach ($tokenIndex as $tokenId => $tokenValue) {
113 if ($tokenValue === '') continue;
115 if ($term->matches($tokenValue)) {
116 $tokenMatches[$tokenId][] = ['term' => $term, 'token' => $tokenValue];