API17:JTableContent::publish
From Joomla! Documentation
JTableContent::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 250 of libraries/joomla/database/table/content.php
See also
JTableContent::publish source code on BitBucket
Class JTableContent
Subpackage Database- Other versions of JTableContent::publish
User contributed notes
Code Examples