|
| __construct ($basepath=__DIR__, $classprefix='\\Joomla\\CMS\\Updater\\Adapter', $adapterfolder='Adapter') |
|
| __construct ($basepath, $classprefix=null, $adapterfolder=null) |
|
| getDbo () |
|
| getAdapter ($name, $options=array()) |
|
| setAdapter ($name, &$adapter=null, $options=array()) |
|
| loadAllAdapters ($options=array()) |
|
| __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) |
|
Updater Class
- Depuis
- 1.7.0
◆ __construct()
__construct |
( |
|
$basepath = __DIR__ , |
|
|
|
$classprefix = '\\Joomla\\CMS\\Updater\\Adapter' , |
|
|
|
$adapterfolder = 'Adapter' |
|
) |
| |
Constructor
- Paramètres
-
string | $basepath | Base Path of the adapters |
string | $classprefix | Class prefix of adapters |
string | $adapterfolder | Name of folder to append to base path |
- Depuis
- 3.1
Références Symfony\Contracts\Service\__construct().
◆ getInstance()
◆ getSitesWithUpdates()
getSitesWithUpdates |
( |
|
$timestamp = 0 | ) |
|
|
private |
Returns the IDs of the update sites with cached updates
- Paramètres
-
int | $timestamp | Optional. If set, only update sites checked before $timestamp will be taken into account. |
- Renvoie
- array The IDs of the update sites with cached updates
- Depuis
- 3.6.0
Références $db, $query, Factory\getDbo(), et ParameterType\INTEGER.
◆ getUpdateSites()
getUpdateSites |
( |
|
$eid = 0 | ) |
|
|
private |
◆ updateLastCheckTimestamp()
updateLastCheckTimestamp |
( |
|
$updateSiteId | ) |
|
|
private |
◆ $instance
◆ STABILITY_ALPHA
const STABILITY_ALPHA = 1 |
◆ STABILITY_BETA
◆ STABILITY_DEV
◆ STABILITY_RC
◆ STABILITY_STABLE
const STABILITY_STABLE = 4 |
La documentation de cette classe a été générée à partir du fichier suivant :