Actions

API17

JModelAdmin

From Joomla! Documentation

Revision as of 17:59, 23 April 2011 by Doxiki2 (Talk | contribs)

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.

[Edit Descripton] Description:JModelAdmin

Defined in

libraries/joomla/application/component/modeladmin.php

Subpackage

Application

Extends

JModelForm

Extended by

Methods

Method name Description
__construct Constructor.
checkin Method override to check-in a record or an array of record.
checkout Method override to check-out a record.
delete Method to delete one or more records.
getItem Method to get a single record.
publish Method to change the published state of one or more records.
reorder Method to adjust the ordering of a row.
save Method to save the form data.
saveorder Saves the manually set order of records.
canDelete Method to test whether a record can be deleted.
canEditState Method to test whether a record can be deleted.
getReorderConditions A protected method to get a set of ordering conditions.
populateState Stock method to auto-populate the model state.
prepareTable Prepare and sanitise the table data prior to saving.

Importing

jimport( 'joomla.application.component.modeladmin' );

See also

SeeAlso:JModelAdmin [Edit See Also]

Examples

<CodeExamplesForm />