Plugin/Events/Finder

From Joomla! Documentation

This Article Needs Your Help

This article is tagged because it NEEDS COMPLETION. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: This page need completing to be a useful doc reference.


onFinderCategoryChangeState

Description

Parameters

Return Value

Called in files

onFinderChangeState

Description

Parameters

Return Value

Called in files

onFinderAfterDelete

Description

Parameters

Return Value

Called in files

onFinderAfterDelete

Description

Parameters

Return Value

Called in files

onFinderBeforeSave

Description

Parameters

Return Value

Called in files

onFinderAfterSave

Description

Parameters

Return Value

Called in files

onFinderResult Joomla 4.0

Description

Event triggered before rendering a results.

Parameters

  • $result An object for single result
  • $query A query object Joomla\Component\Finder\Administrator\Indexer\Query

Return Value

Return void

Called in files

Called from Joomla\Component\Finder\Site\View\Search\HtmlView::display()

onPrepareFinderContent

Description

Event to add extra data for a content before being indexed. This is how we add Comments, Tags, Labels, etc. that should be available to Finder.

Parameters

$item A FinderIndexerResult object containing the data to be indexed.

Return Value

Return void or false for error (this will trigger Exception),

Called in files

Called from FinderIndexerHelper::getContentExtras()