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


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

Description:JModelAdmin::publish [Edit Descripton]

public function publish (
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 on line 360 of libraries/joomla/application/component/modeladmin.php
  • Since Joomla 11.1

See also

SeeAlso:JModelAdmin::publish [Edit See Also]

User contributed notes

<CodeExamplesForm />