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