Property | Type | Description | |
---|---|---|---|
$AddonSiteUrl | URL to the addons site. |
Method | 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. |
Method | Description | |
---|---|---|
checkRequiredFields ( $info ) : array | Check globally required fields in our addon info. |
Method | 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 | ||
return | array | $results |
public static parseCoreVersion ( string $Path ) : string | ||
$Path | string | The path to the index.php file. |
return | 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. |