|
| __construct ($config=array()) |
|
| __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()
__construct |
( |
|
$config = array() | ) |
|
◆ _getList()
_getList |
( |
|
$query, |
|
|
|
$limitstart = 0 , |
|
|
|
$limit = 0 |
|
) |
| |
|
protected |
Returns an object list
- Paramètres
-
DatabaseQuery | $query | The query |
int | $limitstart | Offset |
int | $limit | The number of records |
- Renvoie
- array
Références $db, $limit, $listDirn, $listOrder, $query, $result, $total, elseif, Joomla\Database\getDatabase(), Joomla\CMS\MVC\Model\getState(), null, Joomla\CMS\MVC\Model\setState(), et ArrayHelper\sortObjects().
◆ getEmptyStateQuery()
◆ getListQuery()
Build an SQL query to load the list data.
- Renvoie
- DatabaseQuery
Références $clientId, $db, $groups, $language, $module, $position, $query, $state, $user, elseif, Joomla\Database\getDatabase(), Factory\getLanguage(), Joomla\CMS\MVC\Model\getState(), Factory\getUser(), ParameterType\INTEGER, ParameterType\STRING, et StringHelper\strtolower().
◆ 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.
Références $id, et Joomla\CMS\MVC\Model\getState().
◆ populateState()
populateState |
( |
|
$ordering = 'a.position' , |
|
|
|
$direction = 'asc' |
|
) |
| |
|
protected |
◆ translate()
La documentation de cette classe a été générée à partir du fichier suivant :