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é
Référence de la classe PlgSearchNewsfeeds
+ Graphe d'héritage de PlgSearchNewsfeeds:

Fonctions membres publiques

 onContentSearchAreas ()
 
 onContentSearch ($text, $phrase='', $ordering='', $areas=null)
 

Attributs protégés

 $autoloadLanguage = true
 

Description détaillée

Newsfeeds search plugin.

Depuis
1.6

Documentation des fonctions membres

◆ onContentSearch()

onContentSearch (   $text,
  $phrase = '',
  $ordering = '',
  $areas = null 
)

Search content (newsfeeds).

The SQL must return the following fields that are used in a common display routine: href, title, section, created, text, browsernav.

Paramètres
string$textTarget search string.
string$phraseMatching option (possible values: exact|any|all). Default is "any".
string$orderingOrdering option (possible values: newest|oldest|popular|alpha|category). Default is "newest".
mixed$areasAn array if the search it to be restricted to areas or null to search all areas.
Renvoie
array Search results.
Depuis
1.6

Références $app, $db, $groups, $key, $limit, $ordering, $query, $row, $rows, $state, $text, et $user.

◆ onContentSearchAreas()

onContentSearchAreas ( )

Determine areas searchable by this plugin.

Renvoie
array An array of search areas.
Depuis
1.6

Documentation des champs

◆ $autoloadLanguage

$autoloadLanguage = true
protected

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