| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. |
| License: | GNU/GPL, see LICENSE.php |
| Version: | $Id: helper.php 14401 2010-01-26 14:10:00Z louis $ |
| File Size: | 277 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
JInstallerHelper:: (6 methods):
downloadPackage()
unpack()
detectType()
getFilenameFromURL()
cleanupInstall()
splitSql()
Class: JInstallerHelper - X-Ref
Installer helper class| downloadPackage($url, $target = false) X-Ref |
| Downloads a package param: string URL of file to download param: string Download target filename [optional] return: mixed Path to downloaded package or boolean false on failure |
| unpack($p_filename) X-Ref |
| Unpacks a file and verifies it as a Joomla element package Supports .gz .tar .tar.gz and .zip param: string $p_filename The uploaded package filename or install directory return: Array Two elements - extractdir and packagefile |
| detectType($p_dir) X-Ref |
| Method to detect the extension type from a package directory param: string $p_dir Path to package directory return: mixed Extension type string or boolean false on fail |
| getFilenameFromURL($url) X-Ref |
| Gets a file name out of a url param: string $url URL to get name from return: mixed String filename or boolean false if failed |
| cleanupInstall($package, $resultdir) X-Ref |
| Clean up temporary uploaded package and unpacked extension param: string $package Path to the uploaded package file param: string $resultdir Path to the unpacked extension return: boolean True on success |
| splitSql($sql) X-Ref |
| Splits contents of a sql file into array of discreet queries queries need to be delimited with end of statement marker ';' param: string return: array |
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |