PlgSearchPubdb - JoomlaPubDB/PubDB GitHub Wiki
Summary:
Content search plugin.
- No constants found
- File: plugins/search/pubdb/pubdb.php
- Package: Joomla.Plugin\Search.content
- Class Hierarchy:
- \Joomla\CMS\Plugin\CMSPlugin
- \PlgSearchPubdb
Tag | Version | Description |
---|---|---|
since | 1.6 |
public onContentSearchAreas() : array
Summary
Determine areas searchable by this plugin.
Details:
- Inherited From: \PlgSearchPubdb
Returns: array - An array of search areas.
Tag | Version | Description |
---|---|---|
since | 1.6 |
public onContentSearch(string $text, string $phrase = '', string $ordering = '', mixed $areas = null) : array
Summary
Search content (articles).
Description
The SQL must return the following fields that are used in a common display routine: href, title, section, created, text, browsernav.
Details:
- Inherited From: \PlgSearchPubdb
Type | Name | Description |
---|---|---|
string |
$text | Target search string. |
string |
$phrase | Matching option (possible values: exact |
string |
$ordering | Ordering option (possible values: newest |
mixed |
$areas | An array if the search it to be restricted to areas or null to search all areas. |
Returns: array - Search results.
Tag | Version | Description |
---|---|---|
since | 1.6 |
This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown