API17:JModelAdmin
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 93: | Line 93: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JModelAdmin]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JModelAdmin]]</noinclude> |
Revision as of 13:57, 29 August 2012
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.
JModelAdmin
Description
Description:JModelAdmin [Edit Descripton]
Methods
| 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
jimport( 'joomla.application.component.modeladmin' );
See also
-
JModelAdmin source code on BitBucket
-
Subpackage Application
- Other versions of JModelAdmin
SeeAlso:JModelAdmin [Edit See Also]
User contributed notes
<CodeExamplesForm />
