BannersTableBanner::stick
Method to set the sticky 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 stick([
$pks = null,
[integer
$state = 1,
[integer
$userId = 0]]] )
Parameters
-
$pks
-
$state
-
$userId
Returns
- boolean
- True on success.