Méthode | Description | |
---|---|---|
__construct ( |
Constructor | |
getBatch ( string $class ) : boolean | Validates class and returns an instance of batch | |
getUpgrades ( ElggPlugin $plugin ) : ElggUpgrade[] | Creates new ElggUpgrade instance from plugin's static config | |
run ( ) : boolean | Looks for upgrades and saves them as ElggUpgrade entities | |
upgradeExists ( string $upgrade_id ) : boolean | Check if there already is an ElggUpgrade for this upgrade |
public __construct ( |
||
$plugins | Plugins | |
$logger | Logger | |
$privateSettings | PrivateSettingsTable |
public getUpgrades ( ElggPlugin $plugin ) : ElggUpgrade[] | ||
$plugin | ElggPlugin | Plugin |
Résultat | ElggUpgrade[] |
public upgradeExists ( string $upgrade_id ) : boolean | ||
$upgrade_id | string | Id in format |
Résultat | boolean |