JTable::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.
JTable::publish[edit]
Description[edit]
Method to set the publishing state for a row or list of rows in the database table.
Template:Description:JTable::publish [Edit Descripton]
Synopsis[edit]
public JTable::publish ($pks=null, $state=1, $userId=0)
Parameter | Type | Default | Description |
---|---|---|---|
$pks | null | ||
$state | 1 | ||
$userId | 0 |
Returns[edit]
Defined in[edit]
libraries/joomla/database/table.php (line 1152)
- see source code in BitBucket
Referenced by[edit]
See also[edit]
Template:SeeAlso:JTable::publish
Examples[edit]
<CodeExamplesForm />