JTableContent::publish
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JTableContent::publish[edit]
Description[edit]
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[edit]
JTableContent::publish source code on BitBucket
Class JTableContent
Subpackage Database
- Other versions of JTableContent::publish
User contributed notes[edit]
Code Examples[edit]