PHP Class FOF30\Model\DataModel\Behaviour\Own

Since: 2.1
Inheritance: extends FOF30\Event\Observer
Afficher le fichier Open project: akeeba/fof Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat void

onAfterLoad() public méthode

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
Résultat void