API15:JInstaller/uninstall
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
Contents |
Description
Package uninstallation method
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
uninstall($type, $identifier, $cid=0)
| Parameter Name | Default Value | Description |
|---|---|---|
| $type | $type Package type | |
| $identifier | $identifier Package identifier for adapter | |
| $cid | 0 | $cid Application ID |
Returns
boolean True if successful
Defined in
libraries/joomla/installer/installer.php
Importing
jimport( 'joomla.installer.installer' );
Source Body
function uninstall($type, $identifier, $cid=0) { if (!isset($this->_adapters[$type]) || !is_object($this->_adapters[$type])) { if (!$this->setAdapter($type)) { return false; } } if (is_object($this->_adapters[$type])) { return $this->_adapters[$type]->uninstall($identifier, $cid); } return false; }
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />
