[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 383 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 components/com_weblinks/helpers/route.php
 includes/application.php

Defines 1 class

plgFinderWeblinks:: (10 methods):
  __construct()
  onFinderCategoryChangeState()
  onFinderAfterDelete()
  onFinderAfterSave()
  onFinderBeforeSave()
  onFinderChangeState()
  index()
  setup()
  getListQuery()
  getUpdateQueryByTime()


Class: plgFinderWeblinks  - X-Ref

Finder adapter for Joomla Web Links.

__construct(&$subject, $config)   X-Ref
Constructor

param: object  &$subject  The object to observe
param: array   $config    An array that holds the plugin configuration

onFinderCategoryChangeState($extension, $pks, $value)   X-Ref
Method to update the item link information when the item category is
changed. This is fired when the item category is published or unpublished
from the list view.

param: string   $extension  The extension whose category has been updated.
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

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: JTable  $table    A JTable object containing the record to be deleted
return: boolean  True on success.

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: JTable   $row      A JTable object
param: boolean  $isNew    If the content has just been created
return: boolean  True on success.

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: JTable   $row     A JTable 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(FinderIndexerResult $item, $format = 'html')   X-Ref
Method to index an item. The item must be a FinderIndexerResult object.

param: FinderIndexerResult  $item    The item to index as an FinderIndexerResult object.
param: string               $format  The item format
return: void

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

return: boolean  True on success.

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

param: mixed  $sql  A JDatabaseQuery object or null.
return: JDatabaseQuery  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: JDatabaseQuery  A database object.



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1