Class PlgContentFinder

Description

Finder Content Plugin

  • since: 2.5

Located in /plugins/content/finder/finder.php (line 19)

JObject
   |
   --JEvent
      |
      --JPlugin
         |
         --PlgContentFinder
Method Summary
 void onCategoryChangeState (string $extension, array $pks, integer $value)
 void onContentAfterDelete (string $context, object $article)
 void onContentAfterSave (string $context, object $article, bool $isNew)
 void onContentBeforeSave (string $context, object $article, bool $isNew)
 void onContentChangeState (string $context, array $pks, integer $value)
Variables
Methods
onCategoryChangeState (line 112)

Finder change category state content method Article is passed by reference, but after the save, so no changes will be saved.

Method is called right after the content is saved

  • since: 2.5
  • access: public
void onCategoryChangeState (string $extension, array $pks, integer $value)
  • string $extension: The extension whose category has been updated.
  • array $pks: A list of primary key ids of the content that has changed state.
  • integer $value: The value of the state that the content has been changed to.
onContentAfterDelete (line 71)

Finder after delete content method Article is passed by reference, but after the save, so no changes will be saved.

Method is called right after the content is saved

  • since: 2.5
  • access: public
void onContentAfterDelete (string $context, object $article)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object $article: A JTableContent object
onContentAfterSave (line 32)

Finder after save content method Article is passed by reference, but after the save, so no changes will be saved.

Method is called right after the content is saved

  • since: 2.5
  • access: public
void onContentAfterSave (string $context, object $article, bool $isNew)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object $article: A JTableContent object
  • bool $isNew: If the content has just been created
onContentBeforeSave (line 52)

Finder before save content method Article is passed by reference, but after the save, so no changes will be saved.

Method is called right after the content is saved

  • since: 2.5
  • access: public
void onContentBeforeSave (string $context, object $article, bool $isNew)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object $article: A JTableContent object
  • bool $isNew: If the content is just about to be created
onContentChangeState (line 92)

Finder change state content method 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.

  • since: 2.5
  • access: public
void onContentChangeState (string $context, array $pks, integer $value)
  • string $context: The context for the content passed to the plugin.
  • array $pks: A list of primary key ids of the content that has changed state.
  • integer $value: The value of the state that the content has been changed to.

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 15:03:22 +0100 by phpDocumentor 1.4.3