API17:JModelAdmin
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.
[Edit Descripton] Description:JModelAdmin
Defined in
libraries/joomla/application/component/modeladmin.php
- see source code in BitBucket
Subpackage
Extends
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
- JModelAdmin source code in BitBucket
- Other versions of this class
SeeAlso:JModelAdmin [Edit See Also]
Examples
<CodeExamplesForm />
