Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (&$db) | |
publish ($pks=null, $state=1, $userId=0) | |
Map table class for the Finder package.
__construct | ( | & | $db | ) |
Constructor
JDatabaseDriver | $db | JDatabaseDriver connector object. |
Références $db.
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.
mixed | $pks | An array of primary key values to update. If not set the instance property value is used. [optional] |
integer | $state | The publishing state. eg. [0 = unpublished, 1 = published] [optional] |
integer | $userId | The user id of the user performing the operation. [optional] |