JModelAdmin/11.1
出典: Joomla! ドキュメンテーション
Description
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
User contributed notes
<CodeExamplesForm />
%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).
自動更新 2012/05/24 22:46:07
