API15

JInstaller

From Joomla! Documentation

Revision as of 17:23, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JInstaller}} ===Defined in=== ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The "API15" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JInstaller

Defined in[edit]

libraries/joomla/installer/installer.php

Methods[edit]

Method name Description
__construct Constructor
getOverwrite Get the allow overwrite switch
setOverwrite Set the allow overwrite switch
getDBO Get the database connector object
getManifest Get the installation manifest object
getPath Get an installer path by name
setPath Sets an installer path by name
pushStep Pushes a step onto the installer stack for rolling back steps
setAdapter Set an installer adapter by name
abort Installation abort method
install Package installation method
update Package update method
uninstall Package uninstallation method
setupInstall Prepare for installation: this method sets the installation directory, finds and checks the installation file and verifies the installation type
parseQueries Backward compatible Method to parse through a queries element of the installation manifest file and take appropriate action.
parseSQLFiles Method to extract the name of a discreet installation sql file from the installation manifest file.
parseFiles Method to parse through a files element of the installation manifest and take appropriate action.
parseLanguages Method to parse through a languages element of the installation manifest and take appropriate action.
parseMedia Method to parse through a media element of the installation manifest and take appropriate action.
getParams Method to parse the parameters of an extension, build the INI string for it's default parameters, and return the INI string.
copyFiles Copy files from source directory to the target directory
removeFiles Method to parse through a files element of the installation manifest and remove the files that were installed
copyManifest Copies the installation manifest file to the extension folder in the given client
getInstance Returns a reference to the global Installer object, only creating it if it doesn't already exist.

Importing[edit]

jimport( 'joomla.installer.installer' );

[Edit See Also] Template:SeeAlso:JInstaller

Examples[edit]

<CodeExamplesForm />