JModel/1.6

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

== Joomla 1.6 JModel==

Description

[Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public getDbo Method to get the database connector object.
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 static addIncludePath Add a directory where should search for models.
public static addTablePath Adds to the stack of model table paths in LIFO order.
public static getInstance Returns a Model object, always creating it.
protected _getList Returns an object list.
protected _getListCount Returns a record count for the query.
protected cleanCache Clean the cache.
protected populateState Method to auto-populate the model state.

Importing

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

See also

Joomla 1.6 JModel source code on JoomlaCode

Joomla 1.6 Subpackage Application


[Edit See Also]

User contributed notes

<CodeExamplesForm />

%DPL-1.7.6-ERROR: Wrong '$0' parameter: 'namespace'! Help: $0= empty string (Main).


自動更新 2012/05/25 07:30:31