JInstaller| Class | Description |
|---|---|
JInstallerComponent
|
Component installer |
JInstallerLanguage
|
Language installer |
JInstallerModule
|
Module installer |
JInstallerPlugin
|
Plugin installer |
JInstallerTemplate
|
Template installer |
boolean
_copyFiles
(string $p_sourcedir, string $p_destdir, array $p_files, [boolean $overwrite = null])
mixed
_parseFiles
([string $tagName = 'files'], [string $special = null], [string $specialError = null], [boolean $admin = false])
boolean
$i_allowOverwrite
= false (line 95)
True if existing files can be overwritten
object
$i_db
= null (line 109)
A database connector object
string
$i_description
= null (line 124)
The description of the extension
string
$i_extensionAdminDir
= null (line 81)
The admin directory where the extension is to be installed
string
$i_extensionDir
= null (line 74)
The site directory where the extension is to be installed
string
$i_extensionName
= null (line 67)
The name of the Joomla! extension
string
$i_extensionSpecial
= null (line 88)
The name of a special atttibute in a tag
boolean
$i_hasInstallScript
= false (line 53)
The does the package have an install script?
string
$i_installDir
= null (line 32)
The directory that the extension is to be installed from
string
$i_installFile
= null (line 46)
The xml install file
string
$i_installScript
= null (line 60)
The package install script
string
$i_installType
= null (line 39)
The extension type to install
string
$i_message
= null (line 131)
The output from the install/uninstall scripts
object
$i_xmldoc
= null (line 102)
A DOMIT XML document
Constructor
Returns a reference to the global Installer object, only creating it if it doesn't already exist.
Abstract install method
Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type
Abstract uninstall method
Copy files from source directory to the target directory
Copies the XML install file to the extension folder in the given client
Method to parse the parameters of an extension, build the INI string for it's default parameters, and return the INI string.
Is the xml file a valid Joomla install file
Method to map a client to its base directory. This can be useful moving forward if we want to allow extensions to be installed to applications other than the site and administrator.
Backward compatible Method to parse through a queries element of the installation file and take appropriate action.
Method to parse through a files element of the installation file and take appropriate action.
Method to extract the name of a discreet installation sql file from the xml file.
Method to parse through a files element of the installation file and remove the files that were installed
Roll back the extension installation
Inherited From JObject
JObject::__construct()
JObject::JObject()
JObject::get()
JObject::set()
JObject::toString()
JObject::__destruct()
Documentation generated on Sat, 4 Feb 2006 14:24:04 +0100 by phpDocumentor 1.3.0RC4