JInstaller
Joomla base installer class
Located in /joomla/installer/installer.php (line 28)
JObject (Subpackage Base) JInstaller (Subpackage Installer)
The output from the install/uninstall scripts
Associative array of package installer handlers
A database connector object
The installation manifest XML object
True if existing files can be overwritten
Array of paths needed by the installer
Constructor
- JObject::__construct()
- Class constructor, overridden in descendant classes.
Installation abort method
- string $msg: Abort message from the installer
- string $type: Package type if defined
Copy files from source directory to the target directory
- array $files: array with filenames
- boolean $overwrite: True if existing files can be replaced
Copies the installation manifest file to the extension folder in the given client
- int $cid: Where to copy the installfile [optional: defaults to 1 (admin)]
Returns a reference to the global Installer object, only creating it if it doesn't already exist.
Method to parse the parameters of an extension, build the INI string for it's default parameters, and return the INI string.
Get an installer path by name
- string $name: Path name
- string $default: Default value
Package installation method
- string $path: Path to package source folder
Method to parse through a files element of the installation manifest and take appropriate action.
- object $element: The xml node to process
- int $cid: Application ID of application to install to
Method to parse through a languages element of the installation manifest and take appropriate action.
- object $element: The xml node to process
- int $cid: Application ID of application to install to
Method to parse through a media element of the installation manifest and take appropriate action.
- object $element: The xml node to process
- int $cid: Application ID of application to install to
Backward compatible Method to parse through a queries element of the installation manifest file and take appropriate action.
- object $element: The xml node to process
Method to extract the name of a discreet installation sql file from the installation manifest file.
- object $element: The xml node to process
- string $version: The database connector to use
Pushes a step onto the installer stack for rolling back steps
- array $step: Installer step
Method to parse through a files element of the installation manifest and remove the files that were installed
- object $element: The xml node to process
- int $cid: Application ID of application to remove from
Set an installer adapter by name
- string $name: Adapter name
- object $adapter: Installer adapter object
Set the allow overwrite switch
- boolean $state: Overwrite switch state
Sets an installer path by name
- string $name: Path name
- string $value: Path
Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type
Package uninstallation method
- string $type: Package type
- mixed $identifier: Package identifier for adapter
- int $cid: Application ID
Package update method
- string $path: Path to package source folder
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:08:39 +0000 by phpDocumentor 1.3.1