|
| 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) |
|
| __construct (&$subject) |
|
| update (&$args) |
|
| __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) |
|
◆ onAfterBind()
onAfterBind |
( |
& |
$table, |
|
|
& |
$src |
|
) |
| |
The event which runs after binding data to the table
- Paramètres
-
FOFTable | &$table | The table which calls this event |
object | array | &$src | The data to bind |
- Renvoie
- boolean True on success
◆ onAfterCopy()
onAfterCopy |
( |
& |
$table, |
|
|
|
$oid |
|
) |
| |
The even which runs after copying a record
- Paramètres
-
FOFTable | &$table | The table which calls this event |
integer | $oid | The 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 | &$table | The table which calls this event |
integer | $oid | The 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 | &$table | The table which calls this event |
integer | $oid | The 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 | &$table | The table which calls this event |
boolean | &$result | Did the load succeeded? |
- Renvoie
- void
◆ onAfterMove()
The event which runs after moving a record
- Paramètres
-
FOFTable | &$table | The 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 | &$table | The table which calls this event |
- Renvoie
- boolean True to allow the reordering to complete without an error
◆ onAfterReset()
The event which runs after the object is reset to its default values.
- Paramètres
-
FOFTable | &$table | The table which calls this event |
- Renvoie
- boolean True to allow the reset to complete without errors
◆ onAfterStore()
The event which runs after storing (saving) data to the database
- Paramètres
-
FOFTable | &$table | The 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 | &$table | The table which calls this event |
array | &$data | The data to bind |
- Renvoie
- boolean True on success
◆ onBeforeCopy()
onBeforeCopy |
( |
& |
$table, |
|
|
|
$oid |
|
) |
| |
The even which runs before copying a record
- Paramètres
-
FOFTable | &$table | The table which calls this event |
integer | $oid | The 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 | &$table | The table which calls this event |
integer | $oid | The 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 | &$table | The table which calls this event |
integer | $oid | The PK value of the record to hit |
boolean | $log | Should 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 | &$table | The table which calls this event |
boolean | $updateNulls | Should 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 | &$table | The table which calls this event |
integer | array | &$cid | The PK IDs of the records being (un)published |
integer | $publish | 1 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 | &$table | The table which calls this event |
string | $where | The 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 | &$table | The 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 | &$table | The table which calls this event |
boolean | $updateNulls | Should 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 :