API15:JModel

出典: Joomla! ドキュメンテーション

[Edit Descripton]



目次

Defined in

libraries/joomla/application/component/model.php

Methods

Method name Description
__construct Constructor
getInstance Returns a reference to the a Model object, always creating it
setState Method to set model state variables
getState Method to get model state variables
getDBO Method to get the database connector object
setDBO Method to set the database connector object
getName Method to get the model name
getTable Method to get a table object, load it if necessary.
addIncludePath Add a directory where JModel should search for models. You may either pass a string or an array of directories.
addTablePath Adds to the stack of model table paths in LIFO order.

Importing

jimport( 'joomla.application.component.model' );

[Edit See Also]



Examples

<CodeExamplesForm />



自動更新 2012/05/24 01:44:05