JModelAdmin
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JModelAdmin[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | checkin | Method override to check-in a record or an array of record. |
public | checkout | Method override to check-out a record. |
public | delete | Method to delete one or more records. |
public | getItem | Method to get a single record. |
public | publish | Method to change the published state of one or more records. |
public | reorder | Method to adjust the ordering of a row. |
public | save | Method to save the form data. |
public | saveorder | Saves the manually set order of records. |
protected | canDelete | Method to test whether a record can be deleted. |
protected | canEditState | Method to test whether a record can be deleted. |
protected | getReorderConditions | A protected method to get a set of ordering conditions. |
protected | populateState | Stock method to auto-populate the model state. |
protected | prepareTable | Prepare and sanitise the table data prior to saving. |
- Defined in libraries/joomla/application/component/modeladmin.php
- Extends JModelForm
Importing[edit]
jimport( 'joomla.application.component.modeladmin' );
See also[edit]
- JModelAdmin source code on BitBucket
- Subpackage Application
- Other versions of JModelAdmin
User contributed notes[edit]
Code Examples[edit]