API17:JModelAdmin::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.
JModelAdmin::publish
Description
Method to change the published state of one or more records.
Description:JModelAdmin::publish [Edit Descripton]
Since
Synopsis
public JModelAdmin->publish (&$pks, $value=1)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$pks | array | $pks A list of the primary keys to change. | |
| $value | int | 1 | The value of the published state. |
Returns
boolean True on success.
Defined in
libraries/joomla/application/component/modeladmin.php
Referenced by
See also
Examples
<CodeExamplesForm />
