Prototype adapter class for the Finder indexer package.
Located in /administrator/components/com_finder/helpers/indexer/adapter.php (line 24)
JObject | --JEvent | --JPlugin | --FinderIndexerAdapter
Class | Description |
---|---|
![]() |
Finder adapter for Joomla Categories. |
![]() |
Finder adapter for Joomla Contacts. |
![]() |
Finder adapter for com_content. |
![]() |
Finder adapter for Joomla Newsfeeds. |
![]() |
Finder adapter for Joomla Tag. |
![]() |
Finder adapter for Joomla Web Links. |
The context is somewhat arbitrary but it must be unique or there will be conflicts when managing plugin/indexer state. A good best practice is to use the plugin name suffix as the context. For example, if the plugin is named 'plgFinderContent', the context could be 'Content'.
The database object.
The extension name.
The indexer object.
The sublayout to use when rendering the results.
The mime type of the content the adapter indexes.
The access level of an item before save.
The access level of a category before save.
The field the published state is stored in.
The table name.
The type id of the content.
The type of content the adapter indexes.
Inherited from JPlugin
JPlugin::$autoloadLanguage
JPlugin::$params
JPlugin::$_name
JPlugin::$_type
Inherited from JEvent
JEvent::$_subject
Inherited from JObject
JObject::$_errors
Method to instantiate the indexer adapter.
Method to update index data on category access level changes
Method to update index data on category access level changes
Method to change the value of a content item's property in the links table. This is used to synchronize published and access states that are changed when not editing an item directly.
Method to check the existing access level for categories
Method to check the existing access level for items
Method to get the number of content items available to index.
Method to get a content item to index.
Method to get the page title of any menu item that is linked to the content item, if it exists and is set.
Method to get a list of content items to index.
Method to get the SQL query used to retrieve the list of content items.
Method to get the plugin type
Method to get a SQL query to load the published and access states for an article and category.
Method to get the query clause for getting items to update by id.
Method to get the query clause for getting items to update by time.
Method to get the URL for the item. The URL is how we look up the link in the Finder index.
Method to index an item.
Method to update index data on access level changes
Method to update index data on published state changes
Method to prepare for the indexer to be run. This method will often be used to include dependencies and things of that nature.
Method to index a batch of content items. This method can be called by the indexer many times throughout the indexing process depending on how much content is available for indexing. It is important to track the progress correctly so we can display it to the user.
Method to get the adapter state and push it into the indexer.
Method to update index data when a plugin is disabled
Method to reindex an item.
Method to remove an item from the index.
Method to setup the adapter before indexing.
Method to translate the native content states into states that the indexer can use.
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:53:24 +0100 by phpDocumentor 1.4.3