Public Member Functions | |
| setServerUrl ($url) | |
| uninstall () | |
| setPassword ($ftp_password) | |
| _download () | |
| uninstallModule () | |
| installModule () | |
| install () | |
| _unPack () | |
| _removeDir ($path) | |
Public Attributes | |
| $package = NULL | |
| $base_url | |
| $temp_dir = './files/cache/autoinstall/' | |
| $target_path | |
| $download_file | |
| $url | |
| $download_path | |
| $ftp_password | |
Module installer
Definition at line 10 of file autoinstall.lib.php.
| ModuleInstaller::_download | ( | ) |
| ModuleInstaller::_removeDir | ( | $path | ) |
Remove directory
| string | $path | Path to remove |
Definition at line 276 of file autoinstall.lib.php.
| ModuleInstaller::_unPack | ( | ) |
Untar a downloaded tar ball
Definition at line 250 of file autoinstall.lib.php.
| ModuleInstaller::install | ( | ) |
Install module.
Download file and install module
Definition at line 229 of file autoinstall.lib.php.
| ModuleInstaller::installModule | ( | ) |
Install module
Call module's moduleInstall(), moduleUpdate() and create tables.
Definition at line 192 of file autoinstall.lib.php.
| ModuleInstaller::setPassword | ( | $ftp_password | ) |
Set a FTP password
| string | $ftp_password | The password to set. |
Definition at line 107 of file autoinstall.lib.php.
| ModuleInstaller::setServerUrl | ( | $url | ) |
Set server's base url
| string | $url | The url to set |
Definition at line 67 of file autoinstall.lib.php.
| ModuleInstaller::uninstall | ( | ) |
| ModuleInstaller::uninstallModule | ( | ) |
Uninstall module.
Call module's moduleUninstall() and drop all tables related module
Definition at line 150 of file autoinstall.lib.php.
| ModuleInstaller::$base_url |
Definition at line 23 of file autoinstall.lib.php.
| ModuleInstaller::$download_file |
Definition at line 41 of file autoinstall.lib.php.
| ModuleInstaller::$download_path |
Definition at line 53 of file autoinstall.lib.php.
| ModuleInstaller::$ftp_password |
Definition at line 59 of file autoinstall.lib.php.
| ModuleInstaller::$package = NULL |
Definition at line 17 of file autoinstall.lib.php.
| ModuleInstaller::$target_path |
Definition at line 35 of file autoinstall.lib.php.
| ModuleInstaller::$temp_dir = './files/cache/autoinstall/' |
Definition at line 29 of file autoinstall.lib.php.
| ModuleInstaller::$url |
Definition at line 47 of file autoinstall.lib.php.
1.8.5