FOFTable::onBeforePublish
The event which runs before a record is (un)published
Signature
protected function onBeforePublish(&
$cid,
integer
$publish )
Parameters
-
$cid
-
$publish
- 1 to publish, 0 to unpublish
Returns
- boolean
- True to allow the (un)publish to proceed