PHP Class FOF30\Model\DataModel\Behaviour\Enabled

Since: 2.1
Inheritance: extends FOF30\Event\Observer
ファイルを表示 Open project: akeeba/fof Class Usage Examples

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 apply automatic query filters.

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 apply automatic query filters.
public onBeforeBuildQuery ( &$model, &$query ) : void
return void