The event which runs after binding data to the table
boolean
onAfterBind
(
FOFTable &$table,
object|array &$src)
-
FOFTable
&$table: The table which calls this event
-
object|array
&$src: The data to bind
Redefined in descendants as:
The even which runs after copying a record
boolean
onAfterCopy
(
FOFTable &$table,
integer $oid)
-
FOFTable
&$table: The table which calls this event
-
integer
$oid: The PK value of the record which was copied (not the new one)
The event which runs after deleting a record
boolean
onAfterDelete
(
FOFTable &$table,
integer $oid)
-
FOFTable
&$table: The table which calls this event
-
integer
$oid: The PK value of the record which was deleted
Redefined in descendants as:
The event which runs after hitting a record
boolean
onAfterHit
(
FOFTable &$table,
integer $oid)
-
FOFTable
&$table: The table which calls this event
-
integer
$oid: The PK value of the record which was hit
The event which runs after loading a record from the database
void
onAfterLoad
(
FOFTable &$table,
boolean &$result)
-
FOFTable
&$table: The table which calls this event
-
boolean
&$result: Did the load succeeded?
The event which runs after moving a record
-
FOFTable
&$table: The table which calls this event
The event which runs after reordering a table
boolean
onAfterReorder
(
FOFTable &$table)
-
FOFTable
&$table: The table which calls this event
The event which runs after the object is reset to its default values.
-
FOFTable
&$table: The table which calls this event
The event which runs after storing (saving) data to the database
-
FOFTable
&$table: The table which calls this event
This event runs before binding data to the table
boolean
onBeforeBind
(
FOFTable &$table,
array &$data)
-
FOFTable
&$table: The table which calls this event
-
array
&$data: The data to bind
The even which runs before copying a record
boolean
onBeforeCopy
(
FOFTable &$table,
integer $oid)
-
FOFTable
&$table: The table which calls this event
-
integer
$oid: The PK value of the record being copied
The event which runs before deleting a record
boolean
onBeforeDelete
(
FOFTable &$table,
integer $oid)
-
FOFTable
&$table: The table which calls this event
-
integer
$oid: The PK value of the record to delete
Redefined in descendants as:
The event which runs before hitting a record
boolean
onBeforeHit
(
FOFTable &$table,
integer $oid,
boolean $log)
-
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?
The event which runs before moving a record
boolean
onBeforeMove
(
FOFTable &$table,
boolean $updateNulls)
-
FOFTable
&$table: The table which calls this event
-
boolean
$updateNulls: Should nulls be saved as nulls (true) or just skipped over (false)?
The event which runs before a record is (un)published
boolean
onBeforePublish
(
FOFTable &$table,
integer|array &$cid,
integer $publish)
-
FOFTable
&$table: The table which calls this event
-
integer|array
&$cid: The PK IDs of the records being (un)published
-
integer
$publish:
- to publish, 0 to unpublish
The event which runs before reordering a table
boolean
onBeforeReorder
(
FOFTable &$table, [
string $where =
''])
-
FOFTable
&$table: The table which calls this event
-
string
$where: The WHERE clause of the SQL query to run on reordering (record filter)
The even which runs before the object is reset to its default values.
boolean
onBeforeReset
(
FOFTable &$table)
-
FOFTable
&$table: The table which calls this event
The event which runs before storing (saving) data to the database
boolean
onBeforeStore
(
FOFTable &$table,
boolean $updateNulls)
-
FOFTable
&$table: The table which calls this event
-
boolean
$updateNulls: Should nulls be saved as nulls (true) or just skipped over (false)?
Redefined in descendants as:
Inherited Methods
Inherited From JEvent
JEvent::__construct()
JEvent::update()
Inherited From JObject
JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::__toString()