◆ __construct()
__construct |
( |
|
$config = array() | ) |
|
Constructor.
- Paramètres
-
array | $config | An optional associative array of configuration settings. |
- Depuis
- 3.5
Références $config.
◆ clean()
Clean out a cache group as named by param. If no param is passed clean all cache groups.
- Paramètres
-
string | $group | Cache group name. |
- Renvoie
- boolean True on success, false otherwise
◆ cleanlist()
Purge an array of cache groups.
- Paramètres
-
array | $array | Array of cache group names. |
- Renvoie
- array Array with errors, if they exist.
◆ getCache()
getCache |
( |
|
$clientId = null | ) |
|
◆ getClient()
Method to get client data.
- Renvoie
- array
- Obsolète:
- 4.0 No replacement.
◆ getData()
◆ getPagination()
Method to get a pagination object for the cache.
- Renvoie
- JPagination
◆ getStoreId()
Method to get a store id based on 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 | A prefix for the store id. |
- Renvoie
- string A store id.
- Depuis
- 3.5
Références $id.
◆ getTotal()
Get the number of current Cache Groups.
- Renvoie
- integer
◆ populateState()
populateState |
( |
|
$ordering = 'group' , |
|
|
|
$direction = 'asc' |
|
) |
| |
|
protected |
Method to auto-populate the model state.
Note. Calling getState in this method will result in recursion.
- Paramètres
-
string | $ordering | Field for ordering. |
string | $direction | Direction of ordering. |
- Renvoie
- void
- Depuis
- 1.6
Références $clientId, $direction, et $ordering.
◆ purge()
Purge all cache items.
- Renvoie
- boolean True if successful; false otherwise.
◆ $_data
◆ $_pagination
◆ $_total
La documentation de cette classe a été générée à partir du fichier suivant :