API16

JInstallerHelper

From Joomla! Documentation

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/installer/helper.php

Methods[edit]

Method name Description
downloadPackage Downloads a package
unpack Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip
detectType Method to detect the extension type from a package directory
getFilenameFromURL Gets a file name out of a url
cleanupInstall Clean up temporary uploaded package and unpacked extension
splitSql Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';'

Importing[edit]

jimport( 'joomla.installer.helper' );



Examples[edit]

Code Examples[edit]