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 SearchViewSearch
+ Graphe d'héritage de SearchViewSearch:

Fonctions membres publiques

 display ($tpl=null)
 
 highLight ($string, $needle, $searchWords)
 
 display ($tpl=null)
 

Description détaillée

HTML View class for the search component

Depuis
1.0

OpenSearch View class for the Search component

Depuis
1.7

Documentation des fonctions membres

◆ display() [1/2]

display (   $tpl = null)

Execute and display a template script.

Paramètres
string$tplname of the template
Exceptions
Exception
Renvoie
mixed A string if successful, otherwise an Error object.

Références $app, $doc, $items, $menu, $params, et getDocument.

◆ display() [2/2]

display (   $tpl = null)

Execute and display a template script.

Paramètres
string$tplThe name of the template file to parse; automatically searches through the template paths.
Renvoie
mixed A string if successful, otherwise an Error object.
Depuis
1.0

Références $active, $app, $count, $i, $lang, $params, $results, $state, $title, $total, $upper_limit, $uri, elseif, htmlspecialchars, JPATH_COMPONENT_ADMINISTRATOR, JPATH_SITE, SearchHelper\limitSearchWord(), SearchHelper\logSearch(), null, pageclass_sfx, JLoader\register(), SearchHelper\santiseSearchWord(), et searchareas.

◆ highLight()

highLight (   $string,
  $needle,
  $searchWords 
)

Method to control the highlighting of keywords

Paramètres
string$stringtext to be searched
string$needletext to search for
string$searchWordswords to be searched
Renvoie
mixed A string.
Depuis
3.8.4

Références $row, elseif, SearchHelper\prepareSearchContent(), et SearchHelper\remove_accents().


La documentation de cette classe a été générée à partir des fichiers suivants :