PlgSearchPubdb - JoomlaPubDB/PubDB GitHub Wiki

Class: \PlgSearchPubdb

Namespace: [](../namespaces/default)


Summary:

Content search plugin.


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Methods

public onContentSearchAreas() : array

public onContentSearchAreas() : array

Summary

Determine areas searchable by this plugin.

Details:

Returns: array - An array of search areas.

Tags
Tag Version Description
since 1.6

public onContentSearch() : array

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:

Parameters:
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.

Tags
Tag Version Description
since 1.6

Top Namespaces


Reports


This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown

⚠️ **GitHub.com Fallback** ⚠️