API17:JTableContent::publish
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JTableContent::publish
Description
Method to set the publishing state for a row or list of rows in the database table.
Description:JTableContent::publish [Edit Descripton]
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
SeeAlso:JTableContent::publish [Edit See Also]
User contributed notes
<CodeExamplesForm />
