◆ __construct()
__construct |
( |
|
$config = array() | ) |
|
Constructor.
- Paramètres
-
array | $config | An optional associative array of configuration settings. |
- Voir également
- JModelLegacy
- Depuis
- 3.7.0
Références $config.
◆ _getList()
_getList |
( |
|
$query, |
|
|
|
$limitstart = 0 , |
|
|
|
$limit = 0 |
|
) |
| |
|
protected |
Gets an array of objects from the results of database query.
- Paramètres
-
string | $query | The query. |
integer | $limitstart | Offset. |
integer | $limit | The number of records. |
- Renvoie
- array An array of results.
- Depuis
- 3.8.7
- Exceptions
-
Références $limit, et $query.
◆ getListQuery()
◆ getStoreId()
Method to get a store id based on the model configuration state.
This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements.
- Paramètres
-
string | $id | An identifier string to generate the store id. |
- Renvoie
- string A store id.
- Depuis
- 3.7.0
Références $id.
◆ populateState()
populateState |
( |
|
$ordering = null , |
|
|
|
$direction = null |
|
) |
| |
|
protected |
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.
Note. Calling getState in this method will result in recursion.
- Paramètres
-
string | $ordering | An optional ordering field. |
string | $direction | An optional direction (asc|desc). |
- Renvoie
- void
- Depuis
- 3.7.0
Références $context.
◆ $context
$context = 'com_fields.groups' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :