Свойство | Type | Description | |
---|---|---|---|
$AddonSiteUrl | URL to the addons site. |
Méthode | Description | |
---|---|---|
analyzeAddon ( string $Path, boolean $ThrowError = true ) : array | Check an addon's file to extract the addon information out of it. | |
compareAddons ( array $MyAddons, array $LatestAddons ) : boolean | ||
findFiles ( string $path, array $fileNames ) : array | Find a list of filenames in a folder or zip. | |
getAddonUpdates ( boolean $Enabled = false ) : array | boolean | Deprecated. | |
getAddons ( boolean $Enabled = false ) : array | Deprecated. | |
parseCoreVersion ( string $Path ) : string | Parse the version out of the core's index.php file. | |
parseInfoArray ( string $Path, string $Variable = false ) : array | false | Offers a quick and dirty way of parsing an addon's info array without using eval(). | |
runStructure ( boolean $captureOnly = false ) | Run the structure for all addons. |
Méthode | Description | |
---|---|---|
checkRequiredFields ( $info ) : array | Check globally required fields in our addon info. |
Méthode | Description | |
---|---|---|
addAddon ( $Addon, &$Addons ) | ||
getInfoFiles ( string $Path, array $InfoPaths ) : array | ||
getInfoZip ( string $Path, array $InfoPaths, boolean $TmpPath = false, boolean $ThrowError = true ) : array | Open a zip archive and inspect its contents for the requested paths. |
protected static checkRequiredFields ( $info ) : array | ||
$info | ||
Résultat | array | $results |
public static parseCoreVersion ( string $Path ) : string | ||
$Path | string | The path to the index.php file. |
Résultat | string | A string containing the version or empty if the file could not be parsed. |
public runStructure ( boolean $captureOnly = false ) | ||
$captureOnly | boolean | Run the structure or just capture the SQL changes. |