PHP Class FOF30\Model\DataModel\Behaviour\Language

Since: 2.1
Inheritance: extends FOF30\Event\Observer
Show file Open project: akeeba/fof

Protected Properties

Property Type Description
$lang_filter_plugin PlgSystemLanguageFilter

Public Methods

Method Description
onAfterLoad ( &$model, &$keys ) : void The event runs after DataModel has retrieved a single item from the database. It is used to apply automatic filters.
onBeforeBuildQuery ( &$model, &$query ) : void 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

Method Details

onAfterLoad() public method

The event runs after DataModel has retrieved a single item from the database. It is used to apply automatic filters.
public onAfterLoad ( &$model, &$keys ) : void
return void

onBeforeBuildQuery() public method

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 onBeforeBuildQuery ( &$model, &$query ) : void
return void

Property Details

$lang_filter_plugin protected property

protected PlgSystemLanguageFilter $lang_filter_plugin
return PlgSystemLanguageFilter