Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct ($config=array(), MVCFactoryInterface $factory=null) | |
delete (&$pks) | |
getTable ($type='Map', $prefix='Administrator', $config=array()) | |
publish (&$pks, $value=1) | |
purge () | |
Fonctions membres publiques hérités de ListModel | |
__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) | |
Fonctions membres publiques hérités de BaseDatabaseModel | |
__construct ($config=array(), MVCFactoryInterface $factory=null) | |
getTable ($name='', $prefix='', $options=array()) | |
isCheckedOut ($item) | |
getDbo () | |
setDbo (DatabaseInterface $db=null) | |
__get ($name) | |
Fonctions membres publiques hérités de BaseModel | |
__construct ($config=array()) | |
getName () | |
Fonctions membres publiques hérités de CMSObject | |
__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) | |
Fonctions membres publiques hérités de StatefulModelInterface | |
getState ($property=null, $default=null) | |
setState ($property, $value=null) | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres publiques hérités de CurrentUserInterface | |
setCurrentUser (User $currentUser) | |
Fonctions membres publiques hérités de CacheControllerFactoryAwareInterface | |
setCacheControllerFactory (CacheControllerFactoryInterface $factory) | |
Fonctions membres publiques hérités de DatabaseAwareInterface | |
setDatabase (DatabaseInterface $db) | |
Fonctions membres publiques hérités de FormFactoryAwareInterface | |
setFormFactory (FormFactoryInterface $factory) | |
Fonctions membres protégées | |
canDelete ($record) | |
canEditState ($record) | |
getListQuery () | |
_getListCount ($query) | |
getStoreId ($id='') | |
populateState ($ordering='branch_title, a.lft', $direction='ASC') | |
getEmptyStateQuery () | |
Fonctions membres protégées hérités de ListModel | |
getEmptyStateQuery () | |
_getListQuery () | |
getListQuery () | |
getStoreId ($id='') | |
loadFormData () | |
populateState ($ordering=null, $direction=null) | |
refineSearchStringToRegex ($search, $regexDelimiter='/') | |
Fonctions membres protégées hérités de BaseDatabaseModel | |
_getList ($query, $limitstart=0, $limit=0) | |
_getListCount ($query) | |
_createTable ($name, $prefix='Table', $config=array()) | |
bootComponent ($component) | |
dispatchEvent (EventInterface $event) | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de BaseModel | |
static | addIncludePath ($path='', $prefix='') |
Attributs protégés hérités de ListModel | |
$cache = array() | |
$context = null | |
$filter_fields = array() | |
$query = array() | |
$lastQueryStoreId = null | |
$filterFormName = null | |
$htmlFormName = 'adminForm' | |
$filterBlacklist = array() | |
$filterForbiddenList = array() | |
$listBlacklist = array('select') | |
$listForbiddenList = array('select') | |
Attributs protégés hérités de BaseDatabaseModel | |
$option = null | |
$event_clean_cache = null | |
Attributs protégés hérités de BaseModel | |
$name | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Attributs protégés statiques hérités de BaseModel | |
static | $paths |
Maps model for the Finder package.
__construct | ( | $config = array() , |
|
MVCFactoryInterface | $factory = null |
||
) |
Constructor.
array | $config | An optional associative array of configuration settings. |
MVCFactoryInterface | $factory | The factory. |
Références $config, et Symfony\Contracts\Service\__construct().
|
protected |
Returns a record count for the query.
Références $query, et Joomla\Database\getDatabase().
|
protected |
Method to test whether a record can be deleted.
object | $record | A record object. |
Références Factory\getUser().
|
protected |
Method to test whether a record can have its state changed.
object | $record | A record object. |
Références Factory\getUser().
delete | ( | & | $pks | ) |
Method to delete one or more records.
array | $pks | An array of record primary keys. |
Références $context, $i, $name, $result, Text\_(), Factory\getApplication(), et PluginHelper\importPlugin().
|
protected |
Manipulate the query to be used to evaluate if this is an Empty State to provide specific conditions for this extension.
Références $query, $title, et Joomla\Database\getDatabase().
|
protected |
Build an SQL query to load the list data.
Références $db, $query, $state, $this, Joomla\Database\getDatabase(), et Joomla\CMS\MVC\Model\getState().
|
protected |
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.
string | $id | A prefix for the store id. [optional] |
Références $id, et Joomla\CMS\MVC\Model\getState().
getTable | ( | $type = 'Map' , |
|
$prefix = 'Administrator' , |
|||
$config = array() |
|||
) |
|
protected |
Method to auto-populate the model state. Calling getState in this method will result in recursion.
string | $ordering | An optional ordering field. [optional] |
string | $direction | An optional direction. [optional] |
Références $direction, $ordering, $params, ComponentHelper\getParams(), Joomla\CMS\MVC\Model\populateState(), et Joomla\CMS\MVC\Model\setState().
publish | ( | & | $pks, |
$value = 1 |
|||
) |
Method to change the published state of one or more records.
array | $pks | A list of the primary keys to change. |
integer | $value | The value of the published state. [optional] |
Références $context, $i, $name, $result, $user, $value, Text\_(), Factory\getApplication(), Factory\getUser(), et PluginHelper\importPlugin().
purge | ( | ) |
Method to purge all maps from the taxonomy.
Références $db, $query, et Joomla\Database\getDatabase().