MediaWiki  REL1_24
StringPrefixSearch Class Reference

Performs prefix search, returning strings. More...

Inheritance diagram for StringPrefixSearch:
Collaboration diagram for StringPrefixSearch:

List of all members.

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.

Detailed Description

Performs prefix search, returning strings.

Definition at line 317 of file PrefixSearch.php.


Member Function Documentation

StringPrefixSearch::strings ( array strings) [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.

Parameters:
array$strings
Returns:
array

Reimplemented from PrefixSearch.

Definition at line 325 of file PrefixSearch.php.

StringPrefixSearch::titles ( array 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.

Parameters:
array$titles
Returns:
array

Reimplemented from PrefixSearch.

Definition at line 319 of file PrefixSearch.php.

References $t, $titles, and Title\getPrefixedText().


The documentation for this class was generated from the following file: