[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/finder/tags/ -> tags.php (summary)

(no description)

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 353 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgFinderTags:: (9 methods):
  onFinderAfterDelete()
  onFinderAfterSave()
  onFinderBeforeSave()
  onFinderChangeState()
  index()
  setup()
  getListQuery()
  getStateQuery()
  getUpdateQueryByTime()


Class: PlgFinderTags  - X-Ref

Finder adapter for Joomla Tag.

onFinderAfterDelete($context, $table)   X-Ref
Method to remove the link information for items that have been deleted.

param: string  $context  The context of the action being performed.
param: Table   $table    A Table object containing the record to be deleted
return: void

onFinderAfterSave($context, $row, $isNew)   X-Ref
Method to determine if the access level of an item changed.

param: string   $context  The context of the content passed to the plugin.
param: Table    $row      A Table object
param: boolean  $isNew    If the content has just been created
return: void

onFinderBeforeSave($context, $row, $isNew)   X-Ref
Method to reindex the link information for an item that has been saved.
This event is fired before the data is actually saved so we are going
to queue the item to be indexed later.

param: string   $context  The context of the content passed to the plugin.
param: Table    $row      A Table object
param: boolean  $isNew    If the content is just about to be created
return: boolean  True on success.

onFinderChangeState($context, $pks, $value)   X-Ref
Method to update the link information for items that have been changed
from outside the edit screen. This is fired when the item is published,
unpublished, archived, or unarchived from the list view.

param: string   $context  The context for the content passed to the plugin.
param: array    $pks      A list of primary key ids of the content that has changed state.
param: integer  $value    The value of the state that the content has been changed to.
return: void

index(Result $item)   X-Ref
Method to index an item. The item must be a Result object.

param: Result  $item  The item to index as a Result object.
return: void

setup()   X-Ref
Method to setup the indexer to be run.

return: boolean  True on success.

getListQuery($query = null)   X-Ref
Method to get the SQL query used to retrieve the list of content items.

param: mixed  $query  A DatabaseQuery object or null.
return: DatabaseQuery  A database object.

getStateQuery()   X-Ref
Method to get a SQL query to load the published and access states for the given tag.

return: DatabaseQuery  A database object.

getUpdateQueryByTime($time)   X-Ref
Method to get the query clause for getting items to update by time.

param: string  $time  The modified timestamp.
return: DatabaseQuery  A database object.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer