BannersTableBanner::publish
Method to set the publishing state for a row or list of rows in the database table. The method respects checked out rows by other users and will attempt to checkin rows that it can after adjustments are made.
Signature
public function publish([
$pks = null,
[integer
$state = 1,
[integer
$userId = 0]]] )
Parameters
-
$pks
-
$state
-
$userId
Returns
- boolean
- True on success.