MediaWiki REL1_39
StringPrefixSearch.php
Go to the documentation of this file.
1<?php
29
34 protected function titles( array $titles ) {
35 return array_map( static function ( Title $t ) {
36 return $t->getPrefixedText();
37 }, $titles );
38 }
39
44 protected function strings( array $strings ) {
45 return $strings;
46 }
47}
Handles searching prefixes of titles and finding any page names that match.
Performs prefix search, returning strings.
strings(array $strings)
Represents a title within MediaWiki.
Definition Title.php:49