|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getDisabledUpdateSites () |
|
| findUpdates ($eid=0, $cacheTimeout=0, $minimumStability=Updater::STABILITY_STABLE) |
|
| purge () |
|
| update ($uids, $minimumStability=Updater::STABILITY_STABLE) |
|
| getForm ($data=array(), $loadData=true) |
|
| __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) |
|
|
| populateState ($ordering='u.name', $direction='asc') |
|
| getListQuery () |
|
| translate (&$items) |
|
| _getList ($query, $limitstart=0, $limit=0) |
|
| loadFormData () |
|
| preparePreUpdate ($update, $table) |
|
| getEmptyStateQuery () |
|
| getEmptyStateQuery () |
|
| _getListQuery () |
|
| getListQuery () |
|
| getStoreId ($id='') |
|
| loadFormData () |
|
| populateState ($ordering=null, $direction=null) |
|
| refineSearchStringToRegex ($search, $regexDelimiter='/') |
|
| _getList ($query, $limitstart=0, $limit=0) |
|
| _getListCount ($query) |
|
| _createTable ($name, $prefix='Table', $config=array()) |
|
| bootComponent ($component) |
|
| dispatchEvent (EventInterface $event) |
|
Installer Update Model
- Depuis
- 1.6
◆ __construct()
◆ _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
- Depuis
- 3.5
Références $db, $limit, $listDirn, $listOrder, $query, $result, $total, Joomla\Database\getDatabase(), Joomla\CMS\MVC\Model\getState(), null, Joomla\CMS\MVC\Model\setState(), et ArrayHelper\sortObjects().
◆ findUpdates()
Finds updates for an extension.
- Paramètres
-
int | $eid | Extension identifier to look for |
int | $cacheTimeout | Cache timeout |
int | $minimumStability | Minimum stability for updates { |
- Voir également
- Updater} (0=dev, 1=alpha, 2=beta, 3=rc, 4=stable)
- Renvoie
- boolean Result
- Depuis
- 1.6
Références Updater\getInstance().
◆ getDisabledUpdateSites()
getDisabledUpdateSites |
( |
| ) |
|
◆ getEmptyStateQuery()
Manipulate the query to be used to evaluate if this is an Empty State to provide specific conditions for this extension.
- Renvoie
- DatabaseQuery
- Depuis
- 4.0.0
Références $query, et Joomla\Database\getDatabase().
◆ getForm()
getForm |
( |
|
$data = array() , |
|
|
|
$loadData = true |
|
) |
| |
◆ getListQuery()
◆ install()
Handles the actual update installation.
- Paramètres
-
Update | $update | An update definition |
- Renvoie
- boolean Result of install
- Depuis
- 1.6
Références $app, $check, $config, $name, $result, $url, Text\_(), Factory\getApplication(), Installer\getInstance(), PluginHelper\importPlugin(), Joomla\CMS\MVC\Model\setState(), et Text\sprintf().
◆ loadFormData()
Method to get the data that should be injected in the form.
- Renvoie
- mixed The data for the form.
- Depuis
- 2.5.2
Références $data, et Factory\getApplication().
◆ populateState()
populateState |
( |
|
$ordering = 'u.name' , |
|
|
|
$direction = 'asc' |
|
) |
| |
|
protected |
◆ preparePreUpdate()
preparePreUpdate |
( |
|
$update, |
|
|
|
$table |
|
) |
| |
|
protected |
◆ purge()
◆ translate()
Translate a list of objects
- Paramètres
-
array | $items | The array of objects |
- Renvoie
- array The array of translated objects
- Depuis
- 3.5
Références $item, $items, $manifest, et Text\_().
◆ update()
La documentation de cette classe a été générée à partir du fichier suivant :