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

Fonctions membres publiques

 __construct ()
 
 setSearch ($keyword, $match='all', $ordering='newest')
 
 getData ()
 
 getTotal ()
 
 setAreas ($active=array(), $search=array())
 
 getPagination ()
 
 getAreas ()
 

Attributs protégés

 $_data = null
 
 $_total = null
 
 $_areas = null
 
 $_pagination = null
 

Description détaillée

Search Component Search Model

Depuis
1.5

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( )

Constructor

Depuis
1.5

Références $app, $config, $ordering, $params, elseif, et null.

Documentation des fonctions membres

◆ getAreas()

getAreas ( )

Method to get the search areas

Renvoie
integer
Depuis
1.5

Références $dispatcher, et JEventDispatcher\getInstance().

◆ getData()

getData ( )

Method to get weblink item data for the category

public

Renvoie
array

Références $dispatcher, $results, $rows, et JEventDispatcher\getInstance().

◆ getPagination()

getPagination ( )

Method to get a pagination object of the weblink items for the category

public

Renvoie
integer

◆ getTotal()

getTotal ( )

Method to get the total number of weblink items for the category

public

Renvoie
integer

◆ setAreas()

setAreas (   $active = array(),
  $search = array() 
)

Method to set the search areas

Paramètres
array$activeareas
array$searchareas
Renvoie
void

public

Références $active.

◆ setSearch()

setSearch (   $keyword,
  $match = 'all',
  $ordering = 'newest' 
)

Method to set the search parameters

Paramètres
string$keywordstring search string
string$matchmatching option, exact|any|all
string$orderingoption, newest|oldest|popular|alpha|category

public

Renvoie
void

Références $ordering.

Documentation des champs

◆ $_areas

$_areas = null
protected

◆ $_data

$_data = null
protected

◆ $_pagination

$_pagination = null
protected

◆ $_total

$_total = null
protected

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