Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence de la classe FOFModelBehavior
+ Graphe d'héritage de FOFModelBehavior:

Fonctions membres publiques

 onBeforeSave (&$model, &$data)
 
 onBeforeDelete (&$model)
 
 onBeforeCopy (&$model)
 
 onBeforePublish (&$model)
 
 onBeforeHit (&$model)
 
 onBeforeMove (&$model)
 
 onBeforeReorder (&$model)
 
 onBeforeBuildQuery (&$model, &$query)
 
 onAfterSave (&$model)
 
 onAfterDelete (&$model)
 
 onAfterCopy (&$model)
 
 onAfterPublish (&$model)
 
 onAfterHit (&$model)
 
 onAfterMove (&$model)
 
 onAfterReorder (&$model)
 
 onAfterBuildQuery (&$model, &$query)
 
 onAfterGetItem (&$model, &$record)
 
- Fonctions membres publiques hérités de FOFUtilsObservableEvent
 __construct (&$subject)
 
 update (&$args)
 
- Fonctions membres publiques hérités de FOFUtilsObject
 __construct ($properties=null)
 
 __toString ()
 
 def ($property, $default=null)
 
 get ($property, $default=null)
 
 getProperties ($public=true)
 
 getError ($i=null, $toString=true)
 
 getErrors ()
 
 set ($property, $value=null)
 
 setProperties ($properties)
 
 setError ($error)
 

Membres hérités additionnels

- Attributs protégés hérités de FOFUtilsObservableEvent
 $_subject = null
 
- Attributs protégés hérités de FOFUtilsObject
 $_errors = array()
 

Documentation des fonctions membres

◆ onAfterBuildQuery()

onAfterBuildQuery ( $model,
$query 
)

This event runs after we have built the query used to fetch a record list in a model

Paramètres
FOFModel&$modelThe model which calls this event
FOFDatabaseQuery&$queryThe query being built
Renvoie
void

◆ onAfterCopy()

onAfterCopy ( $model)

This event runs after copying a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterDelete()

onAfterDelete ( $model)

This event runs after deleting a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterGetItem()

onAfterGetItem ( $model,
$record 
)

This event runs after getting a single item

Paramètres
FOFModel&$modelThe model which calls this event
FOFTable&$recordThe record loaded by this model
Renvoie
void

◆ onAfterHit()

onAfterHit ( $model)

This event runs after registering a hit on a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterMove()

onAfterMove ( $model)

This event runs after moving a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterPublish()

onAfterPublish ( $model)

This event runs after publishing a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterReorder()

onAfterReorder ( $model)

This event runs after reordering records in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onAfterSave()

onAfterSave ( $model)

This event runs after saving a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeBuildQuery()

onBeforeBuildQuery ( $model,
$query 
)

This event runs when we are building the query used to fetch a record list in a model

Paramètres
FOFModel&$modelThe model which calls this event
FOFDatabaseQuery&$queryThe query being built
Renvoie
void

◆ onBeforeCopy()

onBeforeCopy ( $model)

This event runs before copying a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeDelete()

onBeforeDelete ( $model)

This event runs before deleting a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeHit()

onBeforeHit ( $model)

This event runs before registering a hit on a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeMove()

onBeforeMove ( $model)

This event runs before moving a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforePublish()

onBeforePublish ( $model)

This event runs before publishing a record in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeReorder()

onBeforeReorder ( $model)

This event runs before changing the records' order in a model

Paramètres
FOFModel&$modelThe model which calls this event
Renvoie
void

◆ onBeforeSave()

onBeforeSave ( $model,
$data 
)

This event runs before saving data in the model

Paramètres
FOFModel&$modelThe model which calls this event
array&$dataThe data to save
Renvoie
void

La documentation de cette classe a été générée à partir du fichier suivant :