\JInstallerHelper
Installer helper class
Synopsis
class JInstallerHelper
{
- // methods
- public static mixed downloadPackage()
- public static mixed unpack()
- public static mixed detectType()
- public static mixed getFilenameFromURL()
- public static boolean cleanupInstall()
- public static array splitSql()
Methods
public
- cleanupInstall() — Clean up temporary uploaded package and unpacked extension
- detectType() — Method to detect the extension type from a package directory
- downloadPackage() — Downloads a package
- getFilenameFromURL() — Gets a file name out of a url
- splitSql() — Splits contents of a sql file into array of discreet queries.
- unpack() — Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip