|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getErrorCount () |
|
| fix ($cids=array()) |
|
| getItems () |
|
| getSchemaVersion ($extensionId) |
|
| fixSchemaVersion ($changeSet, $extensionId) |
|
| compareUpdateVersion ($extension) |
|
| fixUpdateVersion ($extensionId) |
|
| getDefaultTextFilters () |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| __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()
Constructor.
- Paramètres
-
array | $config | An optional associative array of configuration settings. |
MVCFactoryInterface | $factory | The factory. |
- Voir également
- ListModel
- Depuis
- 4.0.0
Références $config, et Symfony\Contracts\Service\__construct().
◆ compareUpdateVersion()
compareUpdateVersion |
( |
|
$extension | ) |
|
◆ fetchSchemaCache()
fetchSchemaCache |
( |
|
$cid = 0 | ) |
|
|
private |
Method to populate the schema cache.
- Paramètres
-
integer | $cid | The extension ID to get the schema for |
- Renvoie
- void
- Exceptions
-
Références $basePath, $db, $result, $results, Text\_(), elseif, Joomla\Database\getDatabase(), InstallerHelper\getInstallationXML(), JPATH_ADMINISTRATOR, JPATH_PLUGINS, JPATH_SITE, null, Joomla\CMS\MVC\Model\setState(), et Text\sprintf().
◆ fix()
◆ fixDefaultTextFilters()
fixDefaultTextFilters |
( |
| ) |
|
|
private |
◆ fixSchemaVersion()
fixSchemaVersion |
( |
|
$changeSet, |
|
|
|
$extensionId |
|
) |
| |
◆ fixUpdateVersion()
fixUpdateVersion |
( |
|
$extensionId | ) |
|
◆ getDefaultTextFilters()
getDefaultTextFilters |
( |
| ) |
|
For version 2.5.x only Check if com_config parameters are blank.
- Renvoie
- string default text filters (if any).
- Depuis
- 4.0.0
Références Joomla\Database\getDatabase().
◆ getErrorCount()
Method to return the total number of errors in all the extensions, saved in cache.
- Renvoie
- integer
- Exceptions
-
◆ getErrorsMessage()
getErrorsMessage |
( |
|
$errors | ) |
|
|
private |
Get a message with all errors found in a given extension
- Paramètres
-
array | $errors | data from #__extensions of a single extension. |
- Renvoie
- array List of messages with the errors in the database
- Depuis
- 4.0.0
Références $key, $message1, $message2, $messages, et Text\sprintf().
◆ getItems()
Gets the changeset array.
- Renvoie
- array Array with the information of the versions problems, errors and the extensions itself
- Exceptions
-
Implémente ListModelInterface.
Références $results.
◆ getListQuery()
◆ getOtherInformationMessage()
getOtherInformationMessage |
( |
|
$status | ) |
|
|
private |
Get a message of the tables skipped and checked
- Paramètres
-
array | $status | status of of the update files |
- Renvoie
- array Messages with the errors with the update version
- Depuis
- 4.0.0
Références Text\sprintf().
◆ getSchemaVersion()
getSchemaVersion |
( |
|
$extensionId | ) |
|
◆ mergeSchemaCache()
mergeSchemaCache |
( |
|
$results | ) |
|
|
protected |
Merge the items that will be visible with the changeSet information in cache
- Paramètres
-
array | $results | extensions returned from parent::getItems(). |
- Renvoie
- array the changeSetList of the merged items
- Depuis
- 4.0.0
Références $result, et $results.
◆ populateState()
populateState |
( |
|
$ordering = 'name' , |
|
|
|
$direction = 'asc' |
|
) |
| |
|
protected |
◆ $_context
$_context = 'com_installer.discover' |
|
protected |
◆ $changeSetList
◆ $errorCount
La documentation de cette classe a été générée à partir du fichier suivant :