◆ __construct()
Constructor
- Paramètres
-
- Depuis
- 1.5
Références $db.
◆ publish()
publish |
( |
|
$pks = null , |
|
|
|
$state = 1 , |
|
|
|
$userId = 0 |
|
) |
| |
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.
- Paramètres
-
mixed | $pks | An optional array of primary key values to update. If not set the instance property value is used. |
integer | $state | The publishing state. eg. [0 = unpublished, 1 = published, 2=archived, -2=trashed] |
integer | $userId | The user id of the user performing the operation. |
- Renvoie
- boolean True on success.
- Depuis
- 1.0.4
Références $state, et $userId.
La documentation de cette classe a été générée à partir du fichier suivant :