|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| purge (int $userId) |
|
| __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) |
|
◆ __construct()
Override parent constructor.
- Paramètres
-
array | $config | An optional associative array of configuration settings. |
MVCFactoryInterface | $factory | The factory. |
- Voir également
- Depuis
- 3.2
Références $config, et Symfony\Contracts\Service\__construct().
◆ getListQuery()
Build an SQL query to load the list data.
- Renvoie
- Depuis
- 1.6
Références $db, $id, $query, $state, $this, $user, elseif, Joomla\Database\getDatabase(), Joomla\CMS\MVC\Model\getState(), Factory\getUser(), et ParameterType\INTEGER.
◆ 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.date_time' , |
|
|
|
$direction = 'desc' |
|
) |
| |
|
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
- 1.6
Références $direction, $ordering, et Joomla\CMS\MVC\Model\populateState().
◆ purge()
La documentation de cette classe a été générée à partir du fichier suivant :