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.
[Edit Descripton] Template:Description:JModelAdmin
Defined in[edit]
libraries/joomla/application/component/modeladmin.php
- see source code in BitBucket
Subpackage[edit]
Extends[edit]
Extended by[edit]
Methods[edit]
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[edit]
jimport( 'joomla.application.component.modeladmin' );
See also[edit]
- JModelAdmin source code in BitBucket
- Other versions of this class
Template:SeeAlso:JModelAdmin [Edit See Also]
Examples[edit]
<CodeExamplesForm />