Prototype admin model.
- Depuis
- 3.2
◆ __construct()
__construct |
( |
|
$config = array() | ) |
|
Constructor
- Paramètres
-
array | $config | An array of configuration options (name, state, dbo, table_path, ignore_request). |
- Depuis
- 3.2
- Exceptions
-
Références $config, $r, $state, elseif, name, null, et option.
◆ canDelete()
Method to test whether a record can be deleted.
- Paramètres
-
object | $record | A record object. |
- Renvoie
- boolean True if allowed to delete the record. Defaults to the permission set in the component.
- Depuis
- 3.2
Références option.
◆ canEditState()
Method to test whether a record can have its state changed.
- Paramètres
-
object | $record | A record object. |
- Renvoie
- boolean True if allowed to change the state of the record. Defaults to the permission set in the component.
- Depuis
- 3.2
Références option.
◆ cleanCache()
cleanCache |
( |
|
$group = null , |
|
|
|
$clientId = 0 |
|
) |
| |
|
protected |
◆ getName()
Method to get the model name
The model name. By default parsed using the classname or it can be set by passing a $config['name'] in the class constructor
- Renvoie
- string The name of the model
- Depuis
- 3.2
- Exceptions
-
Références $name, $r, name, et null.
◆ getState()
Method to get model state variables
- Renvoie
- object The property where specified, the state object where omitted
- Depuis
- 3.2
Implémente JModel.
Références $state.
◆ populateState()
Method to auto-populate the model state.
This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.
- Renvoie
- void
- Note
- Calling getState in this method will result in recursion.
- Depuis
- 3.2
◆ registerTablePaths()
registerTablePaths |
( |
|
$config = array() | ) |
|
Method to register paths for tables
- Paramètres
-
array | $config | Configuration array |
- Renvoie
- object The property where specified, the state object where omitted
- Depuis
- 3.2
Références $config, elseif, et JPATH_COMPONENT_ADMINISTRATOR.
◆ $__state_set
◆ $name
◆ $option
◆ $text_prefix
La documentation de cette classe a été générée à partir du fichier suivant :