Actions

API17

JModelAdmin::publish

From Joomla! Documentation

Revision as of 18:59, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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.

Joomla 11.1 JModelAdmin::publish

Description

Method to change the published state of one or more records.

Description:JModelAdmin::publish [Edit Descripton]

Since

Joomla 11.1

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

[Edit See Also]

SeeAlso:JModelAdmin::publish

Examples

<CodeExamplesForm />