\ConfigModelCms
Prototype admin model.
Synopsis
class ConfigModelCms
extends JModelDatabase
{
- // members
- protected $name;
- protected $option;
- protected $text_prefix;
- protected $__state_set;
- // Inherited members from JModelDatabase
- protected JDatabaseDriver $db;
- // Inherited members from JModelBase
- protected JRegistry $state;
- // methods
- public void __construct()
- public string getName()
- public getState()
- public registerTablePaths()
- protected void cleanCache()
- protected void populateState()
- protected boolean canDelete()
- protected boolean canEditState()
- // Inherited methods from JModelDatabase
- public void __construct()
- public JDatabaseDriver getDb()
- public void setDb()
- protected JDatabaseDriver loadDb()
- // Inherited methods from JModelBase
- public void __construct()
- public JRegistry getState()
- public void setState()
- protected JRegistry loadState()
Hierarchy
Extends
Extended by
Members
protected
- $__state_set
—
boolean
Indicates if the internal state has been set - $db
—
JDatabaseDriver
The database driver. - $name
—
string
The model (base) name - $option
—
string
The URL option for the component. - $state
—
JRegistry
The model state. - $text_prefix
—
string
The prefix to use with controller messages.
Methods
protected
- canDelete() — Method to test whether a record can be deleted.
- canEditState() — Method to test whether a record can have its state changed.
- cleanCache() — Clean the cache
- populateState() — Method to auto-populate the model state.
public
- __construct() — Constructor
- getName() — Method to get the model name
- getState() — Method to get model state variables
- registerTablePaths() — Method to register paths for tables
Inherited from JModelDatabase
protected
- loadDb() — Load the database driver.
public
Inherited from JModelBase
protected
- loadState() — Load the model state.
public
- getState() — Get the model state.
- setState() — Set the model state.