XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_ModuleInstaller Class Reference
Inheritance diagram for Legacy_ModuleInstaller:
Message_myInstaller

Public Member Functions

 Legacy_ModuleInstaller ()
 
 setCurrentXoopsModule (&$xoopsModule)
 
 setForceMode ($isForceMode)
 
 _installTables ()
 
 _installModule ()
 
_createPermission ($group)
 
 _installBlocks ()
 
 _installPreferences ()
 
 _processScript ()
 
 _processReport ()
 
 executeInstall ()
 

Static Public Member Functions

 _installTemplates ()
 

Data Fields

 $mLog = null
 
 $_mForceMode = false
 
 $_mXoopsModule = null
 

Detailed Description

This class extends a base class for the process of module install. Some private functions are added.

Todo
It seems possible to abstract with other installer classes.

Definition at line 24 of file ModuleInstaller.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

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

Member Function Documentation

◆ _createPermission()

& _createPermission ( $group)

Create a permission object which has been initialized for admin. For flexibility, creation only and not save it. @access private

Parameters
$group
Returns

Definition at line 171 of file ModuleInstaller.class.php.

◆ _installBlocks()

_installBlocks ( )

Definition at line 192 of file ModuleInstaller.class.php.

◆ _installModule()

_installModule ( )
Todo
Do rewrite.

Definition at line 78 of file ModuleInstaller.class.php.

◆ _installPreferences()

_installPreferences ( )

Definition at line 197 of file ModuleInstaller.class.php.

◆ _installTables()

_installTables ( )

Definition at line 70 of file ModuleInstaller.class.php.

◆ _installTemplates()

_installTemplates ( )
static

Definition at line 187 of file ModuleInstaller.class.php.

◆ _processReport()

_processReport ( )

Definition at line 226 of file ModuleInstaller.class.php.

◆ _processScript()

_processScript ( )

Definition at line 202 of file ModuleInstaller.class.php.

◆ executeInstall()

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

Reimplemented in Message_myInstaller.

Definition at line 238 of file ModuleInstaller.class.php.

◆ Legacy_ModuleInstaller()

Definition at line 40 of file ModuleInstaller.class.php.

◆ setCurrentXoopsModule()

setCurrentXoopsModule ( & $xoopsModule)

Sets the current XoopsModule.

Parameters
XoopsModule$xoopsModule

Definition at line 56 of file ModuleInstaller.class.php.

◆ setForceMode()

setForceMode ( $isForceMode)

Sets a value indicating whether the force mode is on.

Parameters
bool$isForceMode

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

Field Documentation

◆ $_mForceMode

$_mForceMode = false

Definition at line 32 of file ModuleInstaller.class.php.

◆ $_mXoopsModule

$_mXoopsModule = null

Definition at line 38 of file ModuleInstaller.class.php.

◆ $mLog

$mLog = null

Definition at line 30 of file ModuleInstaller.class.php.


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