|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| setPublished ($cid, $value=0) |
|
| delete ($pks) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getIsEmptyState () |
|
| getActiveFilters () |
|
| getItems () |
|
| getPagination () |
|
| getTotal () |
|
| getStart () |
|
| getFilterForm ($data=array(), $loadData=true) |
|
| getUserStateFromRequest ($key, $request, $default=null, $type='none', $resetPage=true) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getTable ($name='', $prefix='', $options=array()) |
|
| isCheckedOut ($item) |
|
| getDbo () |
|
| setDbo (DatabaseInterface $db=null) |
|
| __get ($name) |
|
| __construct ($config=array()) |
|
| getName () |
|
| __construct ($properties=null) |
|
| __toString () |
|
| def ($property, $default=null) |
|
| get ($property, $default=null) |
|
| getProperties ($public=true) |
|
| getError ($i=null, $toString=true) |
|
| getErrors () |
|
| set ($property, $value=null) |
|
| setProperties ($properties) |
|
| setError ($error) |
|
| getState ($property=null, $default=null) |
|
| setState ($property, $value=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setCurrentUser (User $currentUser) |
|
| setCacheControllerFactory (CacheControllerFactoryInterface $factory) |
|
| setDatabase (DatabaseInterface $db) |
|
| setFormFactory (FormFactoryInterface $factory) |
|
Languages Model Class
- Depuis
- 1.6
◆ __construct()
◆ cleanCache()
cleanCache |
( |
|
$group = null , |
|
|
|
$clientId = 0 |
|
) |
| |
|
protected |
Custom clean cache method, 2 places for 2 clients.
- Paramètres
-
string | $group | Optional cache group name. |
integer | $clientId | |
◆ delete()
Method to delete records.
- Paramètres
-
array | $pks | An array of item primary keys. |
- Renvoie
- boolean Returns true on success, false on failure.
- Depuis
- 1.6
Références $itemId, et Table\getInstance().
◆ getListQuery()
◆ 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
- 1.6
Références $id, et Joomla\CMS\MVC\Model\getState().
◆ populateState()
populateState |
( |
|
$ordering = 'a.ordering' , |
|
|
|
$direction = 'asc' |
|
) |
| |
|
protected |
◆ setPublished()
setPublished |
( |
|
$cid, |
|
|
|
$value = 0 |
|
) |
| |
Set the published language(s).
- Paramètres
-
array | $cid | An array of language IDs. |
integer | $value | The value of the published state. |
- Renvoie
- boolean True on success, false otherwise.
- Depuis
- 1.6
Références $value, et Table\getInstance().
La documentation de cette classe a été générée à partir du fichier suivant :