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 | |
onContentSearchAreas () | |
onContentSearch ($text, $phrase='', $ordering='', $areas=null) | |
Fonctions membres publiques inherited from JPlugin | |
__construct (&$subject, $config=array()) | |
loadLanguage ($extension= '', $basePath=JPATH_ADMINISTRATOR) | |
Fonctions membres publiques inherited from JEvent | |
__construct (&$subject) | |
update (&$args) | |
Fonctions membres publiques inherited from JObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Additional Inherited Members | |
Attributs publics inherited from JPlugin | |
$params = null | |
Attributs protégés inherited from JPlugin | |
$_name = null | |
$_type = null | |
Attributs protégés inherited from JEvent | |
$_subject = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
plgSearchContent::onContentSearch | ( | $text, | |
$phrase = '' , |
|||
$ordering = '' , |
|||
$areas = null |
|||
) |
Content Search method The sql must return the following fields that are used in a common display routine: href, title, section, created, text, browsernav
string | Target search string |
string | mathcing option, exact|any|all |
string | ordering option, newest|oldest|popular|alpha|category |
mixed | An array if the search it to be restricted to areas, null if search all |
Références $app, $date, $db, $item, $key, $limit, $list, $ordering, $query, $row, $tag, $text, $user, JRoute\_(), JText\_(), JFactory\getApplication(), ContentHelperRoute\getArticleRoute(), JFactory\getDate(), JFactory\getDbo(), JFactory\getLanguage(), JFactory\getUser(), JPATH_ADMINISTRATOR, et JPATH_SITE.
plgSearchContent::onContentSearchAreas | ( | ) |