JModelAdmin
From Joomla! Documentation
Revision as of 19:46, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JModelAdmin/11.1 to API17:JModelAdmin without leaving a redirect: Robot: Moved page)
Revision as of 19:46, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JModelAdmin/11.1 to API17:JModelAdmin without leaving a redirect: Robot: Moved page)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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]
Template:Description:JModelAdmin [Edit Descripton]
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
Template:SeeAlso:JModelAdmin [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />