JMediawikiSearch::search
Method to perform a full text search.
Signature
public function search(string
$srsearch,
[array
$srnamespace = null,
[string
$srwhat = null,
[array
$srinfo = null,
[array
$srprop = null,
[boolean
$srredirects = null,
[integer
$sroffest = null,
[integer
$srlimit = null]]]]]]] )
Parameters
-
$srsearch
- Search for all page titles (or content) that has this value.
-
$srnamespace
- The namespace(s) to enumerate.
-
$srwhat
- Search inside the text or titles.
-
$srinfo
- What metadata to return.
-
$srprop
- What properties to return.
-
$srredirects
- Include redirect pages in the search.
-
$sroffest
- Use this value to continue paging.
-
$srlimit
- How many total pages to return.
Returns