API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JArchive::create | ( | $ | archive, |
$ | files, | ||
$ | compress = 'tar' , |
||
$ | addPath = '' , |
||
$ | removePath = '' , |
||
$ | autoExt = false , |
||
$ | cleanUp = false |
||
) |
string | The name of the archive |
mixed | The name of a single file or an array of files |
string | The compression for the archive |
string | Path to add within the archive |
string | Path to remove within the archive |
boolean | Automatically append the extension for the archive |
boolean | Remove for source files |
Références $compress, JFile::delete(), et jimport().
JArchive::extract | ( | $ | archivename, |
$ | extractdir | ||
) |
string | The name of the archive file |
string | Directory to unpack into |
Références $config, $ext, $path, JText::_(), JPath::clean(), JFile::copy(), JFolder::create(), getAdapter(), JFactory::getConfig(), JFile::getExt(), JFile::getName(), JError::isError(), jimport(), JError::raiseWarning(), et JFile::stripExt().
Référencé par JInstallerHelper::unpack(), et JInstallationHelper::unpack().
& JArchive::getAdapter | ( | $ | type | ) |
Références $class, $path, $type, JText::_(), et JError::raiseError().
Référencé par extract().