API17:JModelAdmin::publish
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JModelAdmin::publish (&$pks, $value=1) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 35: | ||
boolean True on success. | boolean True on success. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/application/component/modeladmin.php | + | libraries/joomla/application/component/modeladmin.php (line 360) |
| + | * see source code in [[jplatform:application/component/modeladmin.php#cl-360|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:59, 23 April 2011
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 (line 360)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
