API17:JTableNested::publish
From Joomla! Documentation
JTableNested::publish
Description
Method to set the publishing state for a node or list of nodes 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 850 of libraries/joomla/database/tablenested.php
See also
JTableNested::publish source code on BitBucket
Class JTableNested
Subpackage Database- Other versions of JTableNested::publish
User contributed notes
Code Examples