API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JInstallerPlugin::__construct | ( | &$ | parent | ) |
Constructor
protected
object | $parent | Parent object [JInstaller instance] |
JInstallerPlugin::_rollback_plugin | ( | $ | arg | ) |
JInstallerPlugin::install | ( | ) |
Custom install method
public
--------------------------------------------------------------------------------------------- Manifest Document Setup Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Filesystem Processing Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Database Processing Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Finalization and Cleanup Section ---------------------------------------------------------------------------------------------
Références $db, $file, $id, $lang, $name, $query, $type, JText::_(), JFilterInput::clean(), JFolder::create(), JTable::getInstance(), et JFactory::getLanguage().
JInstallerPlugin::uninstall | ( | $ | id, |
$ | clientId | ||
) |
Custom uninstall method
public
int | $cid | The id of the plugin to uninstall |
int | $clientId | The id of the client (unused) |
Références $db, $id, JText::_(), JFolder::delete(), JFile::delete(), JFolder::files(), JTable::getInstance(), JFactory::getXMLParser(), JError::raiseWarning(), et JText::sprintf().