Class plgContentFinder

Description

Finder Content Plugin

  • since: 2.5

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

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

Inherited Variables

Inherited from JPlugin

JPlugin::$params
JPlugin::$_name
JPlugin::$_type

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
onCategoryChangeState (line 105)

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 66)

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 A $article)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object A $article: JTableContent object
onContentAfterSave (line 29)

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 A $article, bool $isNew)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object A $article: JTableContent object
  • bool $isNew: If the content has just been created
onContentBeforeSave (line 48)

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 A $article, bool $isNew)
  • string $context: The context of the content passed to the plugin (added in 1.6)
  • object A $article: JTableContent object
  • bool $isNew: If the content is just about to be created
onContentChangeState (line 86)

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()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:54:51 -0500 by phpDocumentor 1.4.4