Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct () | |
setSearch ($keyword, $match= 'all', $ordering= 'newest') | |
setAreas ($active=array(), $search=array()) | |
getData () | |
getTotal () | |
getPagination () | |
getAreas () |
Attributs publics | |
$_data = null | |
$_total = null | |
$_areas = null | |
$_pagination = null |
Additional Inherited Members | |
Fonctions membres publiques statiques inherited from JModelLegacy | |
static | addIncludePath ($path= '', $prefix= '') |
Fonctions membres publiques statiques inherited from JModel | |
static | addTablePath ($path) |
static | getInstance ($type, $prefix= '', $config=array()) |
SearchModelSearch::__construct | ( | ) |
Constructor
Références $app, $config, $ordering, $params, elseif, JFactory\getApplication(), JFactory\getConfig(), JRequest\getString(), JRequest\getUInt(), JRequest\getVar(), et JRequest\getWord().
SearchModelSearch::getAreas | ( | ) |
Method to get the search areas
Références $dispatcher, JDispatcher\getInstance(), et JPluginHelper\importPlugin().
SearchModelSearch::getData | ( | ) |
Method to get weblink item data for the category
public
Références $dispatcher, JDispatcher\getInstance(), et JPluginHelper\importPlugin().
SearchModelSearch::getPagination | ( | ) |
Method to get a pagination object of the weblink items for the category
public
Références jimport().
SearchModelSearch::getTotal | ( | ) |
Method to get the total number of weblink items for the category
public
SearchModelSearch::setAreas | ( | $active = array() , |
|
$search = array() |
|||
) |
Method to set the search areas
public
array | Active areas |
array | Search areas |
Références $active.
SearchModelSearch::setSearch | ( | $keyword, | |
$match = 'all' , |
|||
$ordering = 'newest' |
|||
) |
Method to set the search parameters
public
string | search string |
string | mathcing option, exact|any|all |
string | ordering option, newest|oldest|popular|alpha|category |
Références $ordering.
SearchModelSearch::$_areas = null |
SearchModelSearch::$_data = null |
SearchModelSearch::$_pagination = null |
SearchModelSearch::$_total = null |