Class PlgSearchContacts

Description

Contacts Search plugin

  • since: 1.6

Located in /plugins/search/contacts/contacts.php (line 19)

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --PlgSearchContacts
Variable Summary
Method Summary
 void onContentSearch (string $text, [string $phrase = ''], [string $ordering = ''], [ $areas = null])
Variables
boolean $autoloadLanguage = true (line 27)

Load the language file on instantiation.

  • since: 3.1
  • access: protected

Redefinition of:
JPlugin::$autoloadLanguage
Affects constructor behavior. If true, language files will be loaded automatically.

Inherited Variables

Inherited from JPlugin

JPlugin::$params
JPlugin::$_name
JPlugin::$_type

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
onContentSearch (line 50)

Contacts Search method

The sql must return the following fields that are used in a common display routine: href, title, section, created, text, browsernav

  • access: public
void onContentSearch (string $text, [string $phrase = ''], [string $ordering = ''], [ $areas = null])
  • string $text: Target search string
  • string $phrase: matching option, exact|any|all
  • string $ordering: ordering option, newest|oldest|popular|alpha|category
  • $areas
onContentSearchAreas (line 32)
  • return: An array of search areas
  • access: public
array onContentSearchAreas ()

Inherited Methods

Inherited From JPlugin

 JPlugin::__construct()
 JPlugin::loadLanguage()

Inherited From JEvent

 JEvent::__construct()
 JEvent::update()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 14:56:43 +0100 by phpDocumentor 1.4.3