Public Member Functions | |
| ExtensionInstaller ($name, $source, $target) | |
| prompt ($msg) | |
| confirm ($msg) | |
| deleteContents ($dir) | |
| copyDir ($dir, $tgt) | |
| setPermissions ($dir, $dirbits, $filebits) | |
| fetchExtension () | |
| patchLocalSettings ($mode) | |
| printNotices () | |
Static Public Member Functions | |
| static | note ($msg) |
| static | warn ($msg) |
| static | error ($msg) |
Public Attributes | |
| $source | |
| $target | |
| $name | |
| $dir | |
| $tasks | |
Definition at line 328 of file installExtension.php.
| ExtensionInstaller::confirm | ( | $ | msg | ) |
Definition at line 380 of file installExtension.php.
References $msg, $s, print, and prompt().
Referenced by fetchExtension().
| ExtensionInstaller::copyDir | ( | $ | dir, | |
| $ | tgt | |||
| ) |
Definition at line 401 of file installExtension.php.
References $dir, $ok, $t, $tgt, and error().
Referenced by LocalInstallerResource::fetch().
| ExtensionInstaller::deleteContents | ( | $ | dir | ) |
Definition at line 391 of file installExtension.php.
References $dir.
Referenced by fetchExtension().
| static ExtensionInstaller::error | ( | $ | msg | ) | [static] |
Definition at line 358 of file installExtension.php.
References print.
Referenced by copyDir(), InstallerResource::extract(), SVNInstallerResource::fetch(), WebInstallerResource::fetch(), fetchExtension(), patchLocalSettings(), SVNInstallerRepository::printListing(), WebInstallerRepository::printListing(), and LocalInstallerRepository::printListing().
| ExtensionInstaller::ExtensionInstaller | ( | $ | name, | |
| $ | source, | |||
| $ | target | |||
| ) |
Definition at line 335 of file installExtension.php.
References $name, $source, $target, InstallerResource::makeResource(), and tasks.
| ExtensionInstaller::fetchExtension | ( | ) |
Definition at line 457 of file installExtension.php.
References $ok, confirm(), deleteContents(), error(), note(), setPermissions(), and tasks.
| static ExtensionInstaller::note | ( | $ | msg | ) | [static] |
Definition at line 350 of file installExtension.php.
References print.
Referenced by InstallerResource::extract(), SVNInstallerResource::fetch(), WebInstallerResource::fetch(), fetchExtension(), patchLocalSettings(), SVNInstallerRepository::printListing(), WebInstallerRepository::printListing(), and printNotices().
| ExtensionInstaller::patchLocalSettings | ( | $ | mode | ) |
Definition at line 491 of file installExtension.php.
References $mode, $ok, $t, error(), note(), tasks, warn(), and wfTimestamp().
| ExtensionInstaller::printNotices | ( | ) |
| ExtensionInstaller::prompt | ( | $ | msg | ) |
| ExtensionInstaller::setPermissions | ( | $ | dir, | |
| $ | dirbits, | |||
| $ | filebits | |||
| ) |
Definition at line 434 of file installExtension.php.
References $dir, $n, and warn().
Referenced by fetchExtension().
| static ExtensionInstaller::warn | ( | $ | msg | ) | [static] |
Definition at line 354 of file installExtension.php.
References print.
Referenced by patchLocalSettings(), and setPermissions().
| ExtensionInstaller::$dir |
Definition at line 332 of file installExtension.php.
Referenced by copyDir(), deleteContents(), and setPermissions().
| ExtensionInstaller::$name |
| ExtensionInstaller::$source |
| ExtensionInstaller::$target |
| ExtensionInstaller::$tasks |
Definition at line 333 of file installExtension.php.
1.5.9