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

Fonctions membres publiques

 onBeforeBind (&$table, &$data)
 
 onAfterBind (&$table, &$src)
 
 onAfterLoad (&$table, &$result)
 
 onBeforeStore (&$table, $updateNulls)
 
 onAfterStore (&$table)
 
 onBeforeMove (&$table, $updateNulls)
 
 onAfterMove (&$table)
 
 onBeforeReorder (&$table, $where='')
 
 onAfterReorder (&$table)
 
 onBeforeDelete (&$table, $oid)
 
 onAfterDelete (&$table, $oid)
 
 onBeforeHit (&$table, $oid, $log)
 
 onAfterHit (&$table, $oid)
 
 onBeforeCopy (&$table, $oid)
 
 onAfterCopy (&$table, $oid)
 
 onBeforePublish (&$table, &$cid, $publish)
 
 onAfterReset (&$table)
 
 onBeforeReset (&$table)
 
- 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

◆ onAfterBind()

onAfterBind ( $table,
$src 
)

The event which runs after binding data to the table

Paramètres
FOFTable&$tableThe table which calls this event
object | array&$srcThe data to bind
Renvoie
boolean True on success

◆ onAfterCopy()

onAfterCopy ( $table,
  $oid 
)

The even which runs after copying a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record which was copied (not the new one)
Renvoie
boolean True to allow the copy without errors

◆ onAfterDelete()

onAfterDelete ( $table,
  $oid 
)

The event which runs after deleting a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record which was deleted
Renvoie
boolean True to allow the deletion without errors

◆ onAfterHit()

onAfterHit ( $table,
  $oid 
)

The event which runs after hitting a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record which was hit
Renvoie
boolean True to allow the hitting without errors

◆ onAfterLoad()

onAfterLoad ( $table,
$result 
)

The event which runs after loading a record from the database

Paramètres
FOFTable&$tableThe table which calls this event
boolean&$resultDid the load succeeded?
Renvoie
void

◆ onAfterMove()

onAfterMove ( $table)

The event which runs after moving a record

Paramètres
FOFTable&$tableThe table which calls this event
Renvoie
boolean True to allow moving without an error

◆ onAfterReorder()

onAfterReorder ( $table)

The event which runs after reordering a table

Paramètres
FOFTable&$tableThe table which calls this event
Renvoie
boolean True to allow the reordering to complete without an error

◆ onAfterReset()

onAfterReset ( $table)

The event which runs after the object is reset to its default values.

Paramètres
FOFTable&$tableThe table which calls this event
Renvoie
boolean True to allow the reset to complete without errors

◆ onAfterStore()

onAfterStore ( $table)

The event which runs after storing (saving) data to the database

Paramètres
FOFTable&$tableThe table which calls this event
Renvoie
boolean True to allow saving without an error

◆ onBeforeBind()

onBeforeBind ( $table,
$data 
)

This event runs before binding data to the table

Paramètres
FOFTable&$tableThe table which calls this event
array&$dataThe data to bind
Renvoie
boolean True on success

◆ onBeforeCopy()

onBeforeCopy ( $table,
  $oid 
)

The even which runs before copying a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record being copied
Renvoie
boolean True to allow the copy to take place

◆ onBeforeDelete()

onBeforeDelete ( $table,
  $oid 
)

The event which runs before deleting a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record to delete
Renvoie
boolean True to allow the deletion

◆ onBeforeHit()

onBeforeHit ( $table,
  $oid,
  $log 
)

The event which runs before hitting a record

Paramètres
FOFTable&$tableThe table which calls this event
integer$oidThe PK value of the record to hit
boolean$logShould we log the hit?
Renvoie
boolean True to allow the hit

◆ onBeforeMove()

onBeforeMove ( $table,
  $updateNulls 
)

The event which runs before moving a record

Paramètres
FOFTable&$tableThe table which calls this event
boolean$updateNullsShould nulls be saved as nulls (true) or just skipped over (false)?
Renvoie
boolean True to allow moving

◆ onBeforePublish()

onBeforePublish ( $table,
$cid,
  $publish 
)

The event which runs before a record is (un)published

Paramètres
FOFTable&$tableThe table which calls this event
integer | array&$cidThe PK IDs of the records being (un)published
integer$publish1 to publish, 0 to unpublish
Renvoie
boolean True to allow the (un)publish to proceed

◆ onBeforeReorder()

onBeforeReorder ( $table,
  $where = '' 
)

The event which runs before reordering a table

Paramètres
FOFTable&$tableThe table which calls this event
string$whereThe WHERE clause of the SQL query to run on reordering (record filter)
Renvoie
boolean True to allow reordering

◆ onBeforeReset()

onBeforeReset ( $table)

The even which runs before the object is reset to its default values.

Paramètres
FOFTable&$tableThe table which calls this event
Renvoie
boolean True to allow the reset to complete

◆ onBeforeStore()

onBeforeStore ( $table,
  $updateNulls 
)

The event which runs before storing (saving) data to the database

Paramètres
FOFTable&$tableThe table which calls this event
boolean$updateNullsShould nulls be saved as nulls (true) or just skipped over (false)?
Renvoie
boolean True to allow saving

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