Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe JMediawikiSearch
+ Graphe d'héritage de JMediawikiSearch:

Fonctions membres publiques

 search ($srsearch, array $srnamespace=null, $srwhat=null, array $srinfo=null, array $srprop=null, $srredirects=null, $sroffest=null, $srlimit=null)
 
 openSearch ($search, $limit=null, array $namespace=null, $suggest=null, $format=null)
 
- Fonctions membres publiques hérités de JMediawikiObject
 __construct (Registry $options=null, JMediawikiHttp $client=null)
 
 buildParameter (array $params)
 
 validateResponse ($response)
 

Membres hérités additionnels

- Fonctions membres protégées hérités de JMediawikiObject
 fetchUrl ($path)
 
- Attributs protégés hérités de JMediawikiObject
 $options
 
 $client
 

Description détaillée

MediaWiki API Search class for the Joomla Platform.

Depuis
3.1.4

Documentation des fonctions membres

◆ openSearch()

openSearch (   $search,
  $limit = null,
array  $namespace = null,
  $suggest = null,
  $format = null 
)

Method to search the wiki using opensearch protocol.

Paramètres
string$searchSearch string.
integer$limitMaximum amount of results to return.
array$namespaceNamespaces to search.
string$suggestDo nothing if $wgEnableOpenSearchSuggest is false.
string$formatOutput format.
Renvoie
object
Depuis
3.1.4

Références $format, $limit, et $path.

◆ search()

search (   $srsearch,
array  $srnamespace = null,
  $srwhat = null,
array  $srinfo = null,
array  $srprop = null,
  $srredirects = null,
  $sroffest = null,
  $srlimit = null 
)

Method to perform a full text search.

Paramètres
string$srsearchSearch for all page titles (or content) that has this value.
array$srnamespaceThe namespace(s) to enumerate.
string$srwhatSearch inside the text or titles.
array$srinfoWhat metadata to return.
array$srpropWhat properties to return.
boolean$srredirectsInclude redirect pages in the search.
integer$sroffestUse this value to continue paging.
integer$srlimitHow many total pages to return.
Renvoie
object
Depuis
3.1.4

Références $path.


La documentation de cette classe a été générée à partir du fichier suivant :