API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JInstallerComponent::__construct | ( | &$ | parent | ) |
Constructor
protected
object | $parent | Parent object [JInstaller instance] |
JInstallerComponent::_buildAdminMenus | ( | ) |
Method to build menu database entries for a component
private
Références $db, $db_name, $option, $ordering, $query, JText::_(), JTable::getInstance(), et JError::raiseWarning().
JInstallerComponent::_removeAdminMenus | ( | &$ | row | ) |
Method to remove admin menu references to a component
private
object | $component | Component table object |
Références $db, JText::_(), et JError::raiseWarning().
JInstallerComponent::_rollback_menu | ( | $ | arg | ) |
JInstallerComponent::install | ( | ) |
Custom install method for components
public
--------------------------------------------------------------------------------------------- Manifest Document Setup Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Basic Checks Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Filesystem Processing Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Database Processing Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Custom Installation Script Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Finalization and Cleanup Section ---------------------------------------------------------------------------------------------
Références $db, $lang, $name, $path, JText::_(), JPath::clean(), JFilterInput::clean(), JFolder::create(), elseif, JFactory::getLanguage(), JError::raiseWarning(), et JText::sprintf().
JInstallerComponent::uninstall | ( | $ | id, |
$ | clientId | ||
) |
Custom uninstall method for components
public
int | $cid | The id of the component to uninstall |
int | $clientId | The id of the client (unused) |
--------------------------------------------------------------------------------------------- Manifest Document Setup Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Custom Uninstallation Script Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Database Processing Section ---------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- Filesystem Processing Section ---------------------------------------------------------------------------------------------
Références $db, $id, JText::_(), JPath::clean(), JFolder::delete(), elseif, JTable::getInstance(), JError::raiseWarning(), et JText::sprintf().