JModel/1.5
出典: Joomla! ドキュメンテーション
Description
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Constructor. |
| public | _createFileName | Create the filename for a resource. |
| public | _createTable | Method to load and return a model object. |
| public | _getList | Returns an object list. |
| public | _getListCount | Returns a record count for the query. |
| public | addIncludePath | Add a directory where should search for models. |
| public | getDBO | Method to get the database connector object. |
| public | getInstance | Returns a reference to the a Model object, always creating it. |
| public | getName | Method to get the model name. |
| public | getState | Method to get model state variables. |
| public | getTable | Method to get a table object, load it if necessary. |
| public | setDBO | Method to set the database connector object. |
| public | setState | Method to set model state variables. |
| public | addTablePath | Adds to the stack of model table paths in LIFO order. |
- Defined in libraries/joomla/application/component/model.php
- Extends JObject
Importing
jimport( 'joomla.application.component.model' );
See also
JModel on api.joomla.org
JModel source code on JoomlaCode
Subpackage Application
User contributed notes
<CodeExamplesForm />
%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).
自動更新 2012/05/25 20:44:42
