PHP Class FOF30\Model\DataModel\Behaviour\Own

Since: 2.1
Inheritance: extends FOF30\Event\Observer
Mostra file Open project: akeeba/fof Class Usage Examples

Public Methods

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

Method Details

onAfterBuildQuery() public method

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

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