User notes table class
- Depuis
- 2.5
◆ __construct()
Constructor
- Paramètres
-
- Depuis
- 2.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 check-in 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] |
integer | $userId | The user id of the user performing the operation. |
- Renvoie
- boolean True on success.
- Depuis
- 2.5
Références $query, $state, $userId, et ArrayHelper\toInteger().
◆ store()
store |
( |
|
$updateNulls = false | ) |
|
Overloaded store method for the notes table.
- Paramètres
-
boolean | $updateNulls | Toggle whether null values should be updated. |
- Renvoie
- boolean True on success, false on failure.
- Depuis
- 2.5
Références $date, et $userId.
La documentation de cette classe a été générée à partir du fichier suivant :