| [ Index ] |
PHP Cross Reference of Joomla 2.5.4 DE |
[Source view] [Print] [Project Stats]
(no description)
| Copyright: | Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. |
| License: | GNU General Public License version 2 or later; see LICENSE |
| File Size: | 292 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| downloadPackage($url, $target = false) X-Ref |
| Downloads a package param: string $url URL of file to download param: string $target 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 $sql The SQL statement. return: array Array of queries |
| Generated: Tue Apr 3 11:40:28 2012 | Cross-referenced by PHPXref 0.7.1 |