Class FOFModelBehaviorLanguage
FrameworkOnFramework model behavior class to filter front-end access to items based on the language.
- FOFUtilsObject
- FOFUtilsObservableEvent
- FOFModelBehavior
- FOFModelBehaviorLanguage
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.1
Located at fof/model/behavior/language.php
Methods summary
public
|
#
onBeforeBuildQuery(
This event runs before we have built the query used to fetch a record list in a model. It is used to blacklist the language filter |
public
|
#
onAfterBuildQuery(
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. |
public
|
#
onAfterGetItem(
The event runs after FOFModel has called FOFTable and retrieved a single item from the database. It is used to apply automatic filters. |
Methods inherited from FOFModelBehavior
onAfterCopy()
,
onAfterDelete()
,
onAfterHit()
,
onAfterMove()
,
onAfterPublish()
,
onAfterReorder()
,
onAfterSave()
,
onBeforeCopy()
,
onBeforeDelete()
,
onBeforeHit()
,
onBeforeMove()
,
onBeforePublish()
,
onBeforeReorder()
,
onBeforeSave()
Methods inherited from FOFUtilsObservableEvent
Methods inherited from FOFUtilsObject
__toString()
,
def()
,
get()
,
getError()
,
getErrors()
,
getProperties()
,
set()
,
setError()
,
setProperties()