\ConfigModelTemplates
Template style model.
Synopsis
class ConfigModelTemplates
extends ConfigModelForm
{
- // Inherited members from ConfigModelForm
- protected $forms;
- // Inherited members from ConfigModelCms
- 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
- protected void populateState()
- public JForm getForm()
- protected void preprocessForm()
- // Inherited methods from ConfigModelForm
- public boolean checkin()
- public boolean checkout()
- public abstract mixed getForm()
- protected mixed loadForm()
- protected array loadFormData()
- protected void preprocessData()
- protected void preprocessForm()
- public mixed validate()
- // Inherited methods from ConfigModelCms
- 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
Members
protected
- $__state_set
—
boolean
Indicates if the internal state has been set - $db
—
JDatabaseDriver
The database driver. - $forms
—
array
Array of form objects. - $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
- populateState() — Method to auto-populate the model state.
- preprocessForm() — Method to preprocess the form
public
- getForm() — Method to get the record form.
Inherited from ConfigModelForm
protected
- loadForm() — Method to get a form object.
- loadFormData() — Method to get the data that should be injected in the form.
- preprocessData() — Method to allow derived classes to preprocess the data.
- preprocessForm() — Method to allow derived classes to preprocess the form.
public
- checkin() — Method to checkin a row.
- checkout() — Method to check-out a row for editing.
- getForm() — Abstract method for getting the form from the model.
- validate() — Method to validate the form data.
Inherited from ConfigModelCms
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
- 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.