\BannersModelDownload
Download model.
Synopsis
class BannersModelDownload
extends JModelForm
{
- // members
- protected $_context;
- // Inherited members from JModelForm
- protected $_forms;
- // Inherited members from JModelLegacy
- protected $__state_set;
- protected $_db;
- protected $name;
- protected $option;
- protected $state;
- protected $event_clean_cache;
- // Inherited members from JObject
- protected $_errors;
- // methods
- protected void populateState()
- public mixed getForm()
- protected mixed loadFormData()
- // Inherited methods from JModelForm
- 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 JModelLegacy
- public static array addIncludePath()
- public static void addTablePath()
- protected static string _createFileName()
- public static mixed getInstance()
- public void __construct()
- protected array _getList()
- protected integer _getListCount()
- protected mixed _createTable()
- public JDatabaseDriver getDbo()
- public string getName()
- public getState()
- public JTable getTable()
- public boolean loadHistory()
- protected void populateState()
- public void setDbo()
- public mixed setState()
- protected void cleanCache()
- // Inherited methods from JObject
- public void __construct()
- public string __toString()
- public mixed def()
- public mixed get()
- public array getProperties()
- public string getError()
- public array getErrors()
- public mixed set()
- public boolean setProperties()
- public void setError()
Hierarchy
Extends
Members
protected
- $__state_set
—
boolean
Indicates if the internal state has been set - $_context
- $_db
—
Database Connector - $_errors
—
array
An array of error messages or Exception objects. - $_forms
—
array
Array of form objects. - $event_clean_cache
—
string
The event to trigger when cleaning cache. - $name
—
string
The model (base) name - $option
—
string
The URL option for the component. - $state
—
string
A state object
Methods
protected
- loadFormData() — Method to get the data that should be injected in the form.
- populateState() — Method to auto-populate the model state.
public
- getForm() — Method to get the record form.
Inherited from JModelForm
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 JModelLegacy
protected
- _createFileName() — Create the filename for a resource
- _createTable() — Method to load and return a model object.
- _getList() — Gets an array of objects from the results of database query.
- _getListCount() — Returns a record count for the query.
- cleanCache() — Clean the cache
- populateState() — Method to auto-populate the model state.
public
- addIncludePath() — Add a directory where JModelLegacy 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.
- getDbo() — Method to get the database driver object
- getInstance() — Returns a Model object, always creating it
- getName() — Method to get the model name
- getState() — Method to get model state variables
- getTable() — Method to get a table object, load it if necessary.
- loadHistory() — Method to load a row for editing from the version history table.
- setDbo() — Method to set the database driver object
- setState() — Method to set model state variables
Inherited from JObject
public
- __toString() — Magic method to convert the object to a string gracefully.
- def() — Sets a default value if not alreay assigned
- get() — Returns a property of the object or the default value if the property is not set.
- getError() — Get the most recent error message.
- getErrors() — Return all errors, if any.
- getProperties() — Returns an associative array of object properties.
- set() — Modifies a property of the object, creating it if it does not already exist.
- setError() — Add an error message.
- setProperties() — Set the object properties based on a named array/hash.