XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_ModuleUninstaller Class Reference

Public Member Functions

 Legacy_ModuleUninstaller ()
 
 setCurrentXoopsModule (&$xoopsModule)
 
 setForceMode ($isForceMode)
 
 _uninstallModule ()
 
 _uninstallTables ()
 
 _uninstallTemplates ()
 
 _uninstallBlocks ()
 
 _uninstallPreferences ()
 
 _processScript ()
 
 _processReport ()
 
 executeUninstall ()
 

Data Fields

 $mLog = null
 
 $_mForceMode = false
 
 $_mXoopsModule = null
 
 $m_fireNotifyUninstallTemplateBegun
 XCube_Delegate.
 

Detailed Description

Definition at line 18 of file ModuleUninstaller.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 52 of file ModuleUninstaller.class.php.

Member Function Documentation

◆ _processReport()

_processReport ( )

Definition at line 193 of file ModuleUninstaller.class.php.

◆ _processScript()

_processScript ( )

Definition at line 169 of file ModuleUninstaller.class.php.

◆ _uninstallBlocks()

_uninstallBlocks ( )

Delete all of module's blocks.

Note
Templates Delete is move into Legacy_ModuleInstallUtils.

Definition at line 148 of file ModuleUninstaller.class.php.

◆ _uninstallModule()

_uninstallModule ( )

Deletes module information from XOOPS database because this class is uninstaller.

Definition at line 85 of file ModuleUninstaller.class.php.

◆ _uninstallPreferences()

_uninstallPreferences ( )

Definition at line 162 of file ModuleUninstaller.class.php.

◆ _uninstallTables()

_uninstallTables ( )

Drop table because this class is uninstaller.

Definition at line 100 of file ModuleUninstaller.class.php.

◆ _uninstallTemplates()

_uninstallTemplates ( )

Delete template because this class is uninstaller.

Definition at line 137 of file ModuleUninstaller.class.php.

◆ executeUninstall()

executeUninstall ( )
Todo
Check whether $this->_mXoopsObject is ready.

Definition at line 205 of file ModuleUninstaller.class.php.

◆ Legacy_ModuleUninstaller()

Definition at line 47 of file ModuleUninstaller.class.php.

◆ setCurrentXoopsModule()

setCurrentXoopsModule ( & $xoopsModule)

Sets the current XoopsModule.

Parameters
XoopsModule$xoopsModule

Definition at line 65 of file ModuleUninstaller.class.php.

◆ setForceMode()

setForceMode ( $isForceMode)

Sets a value indicating whether the force mode is on.

Parameters
bool$isForceMode

Definition at line 74 of file ModuleUninstaller.class.php.

Field Documentation

◆ $_mForceMode

$_mForceMode = false

Definition at line 28 of file ModuleUninstaller.class.php.

◆ $_mXoopsModule

$_mXoopsModule = null

Definition at line 35 of file ModuleUninstaller.class.php.

◆ $m_fireNotifyUninstallTemplateBegun

$m_fireNotifyUninstallTemplateBegun

XCube_Delegate.

Attention
This may be changed in the future.
Todo
We may have to move this delegate to another class. Or, we may have to add the same delegates to other installer classes.

Definition at line 45 of file ModuleUninstaller.class.php.

◆ $mLog

$mLog = null

Definition at line 26 of file ModuleUninstaller.class.php.


The documentation for this class was generated from the following file: