API17:JTable::publish
From Joomla! Documentation
JTable::publish
Description
Method to set the publishing state for a row or list of rows in the database table.
public function publish (
$pks=null
$state=1
$userId=0
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pks | null | ||
| $state | 1 | ||
| $userId | 0 |
- Returns
- Defined on line 1152 of libraries/joomla/database/table.php
See also
JTable::publish source code on BitBucket
Class JTable
Subpackage Database- Other versions of JTable::publish
User contributed notes
Code Examples