MediaWiki REL1_28
|
Performs prefix search, returning Title objects. More...
Protected Member Functions | |
strings (array $strings) | |
When implemented in a descendant class, receives an array of titles as strings and returns either an unmodified array or an array of Title objects corresponding to strings received. | |
titles (array $titles) | |
When implemented in a descendant class, receives an array of Title objects and returns either an unmodified array or an array of strings corresponding to titles passed to it. | |
Protected Member Functions inherited from PrefixSearch | |
extractNamespace ( $input) | |
Figure out if given input contains an explicit namespace. | |
searchBackend ( $namespaces, $search, $limit, $offset) | |
Do a prefix search of titles and return a list of matching page names. | |
specialSearch ( $search, $limit, $offset) | |
Prefix search special-case for Special: namespace. | |
validateNamespaces ( $namespaces) | |
Validate an array of numerical namespace indexes. | |
Additional Inherited Members | |
Public Member Functions inherited from PrefixSearch | |
defaultSearchBackend ( $namespaces, $search, $limit, $offset) | |
Unless overridden by PrefixSearchBackend hook... This is case-sensitive (First character may be automatically capitalized by Title::secureAndSpit() later on depending on $wgCapitalLinks) | |
search ( $search, $limit, $namespaces=[], $offset=0) | |
Do a prefix search of titles and return a list of matching page names. | |
searchWithVariants ( $search, $limit, array $namespaces, $offset=0) | |
Do a prefix search for all possible variants of the prefix. | |
Static Public Member Functions inherited from PrefixSearch | |
static | titleSearch ( $search, $limit, $namespaces=[], $offset=0) |
Do a prefix search of titles and return a list of matching page names. | |
Performs prefix search, returning Title objects.
Definition at line 373 of file PrefixSearch.php.
|
protected |
When implemented in a descendant class, receives an array of titles as strings and returns either an unmodified array or an array of Title objects corresponding to strings received.
array | $strings |
Reimplemented from PrefixSearch.
Definition at line 379 of file PrefixSearch.php.
References $titles.
|
protected |
When implemented in a descendant class, receives an array of Title objects and returns either an unmodified array or an array of strings corresponding to titles passed to it.
array | $titles |
Reimplemented from PrefixSearch.
Definition at line 375 of file PrefixSearch.php.
References $titles.