Class FOFModelBehaviorLanguage

Description

FrameworkOnFramework model behavior class to filter front-end access to items based on the language.

  • since: 2.1

Located in /libraries/fof/model/behavior/language.php (line 18)

JObject
   |
   --JEvent
      |
      --FOFModelBehavior
         |
         --FOFModelBehaviorLanguage
Method Summary
 void onAfterBuildQuery (FOFModel &$model, JDatabaseQuery &$query)
 void onAfterGetItem (FOFModel &$model, FOFTable &$record)
Variables

Inherited Variables

Inherited from JEvent

JEvent::$_subject

Inherited from JObject

JObject::$_errors
Methods
onAfterBuildQuery (line 29)

This event runs after we have built the query used to fetch a record list in a model. It is used to apply automatic query filters.

  • access: public
void onAfterBuildQuery (FOFModel &$model, JDatabaseQuery &$query)

Redefinition of:
FOFModelBehavior::onAfterBuildQuery()
This event runs after we have built the query used to fetch a record list in a model
onAfterGetItem (line 95)

The event runs after FOFModel has called FOFTable and retrieved a single item from the database. It is used to apply automatic filters.

  • access: public
void onAfterGetItem (FOFModel &$model, FOFTable &$record)
  • FOFModel &$model: The model which was called
  • FOFTable &$record: The record loaded from the databae

Redefinition of:
FOFModelBehavior::onAfterGetItem()
This event runs after getting a single item

Inherited Methods

Inherited From FOFModelBehavior

 FOFModelBehavior::onAfterBuildQuery()
 FOFModelBehavior::onAfterCopy()
 FOFModelBehavior::onAfterDelete()
 FOFModelBehavior::onAfterGetItem()
 FOFModelBehavior::onAfterHit()
 FOFModelBehavior::onAfterMove()
 FOFModelBehavior::onAfterPublish()
 FOFModelBehavior::onAfterReorder()
 FOFModelBehavior::onAfterSave()
 FOFModelBehavior::onBeforeBuildQuery()
 FOFModelBehavior::onBeforeCopy()
 FOFModelBehavior::onBeforeDelete()
 FOFModelBehavior::onBeforeHit()
 FOFModelBehavior::onBeforeMove()
 FOFModelBehavior::onBeforePublish()
 FOFModelBehavior::onBeforeReorder()
 FOFModelBehavior::onBeforeSave()

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:06:31 +0100 by phpDocumentor 1.4.3