Legacy_AbstractModuleInstaller Class Reference

List of all members.

Public Member Functions

 execute ()
 _installBlock ()
 _installNotification ()
 _installPreference ()
 setForceMode ($flag)
 _processReport ()
getLog ()

Static Public Member Functions

loadModuleObject ($dirname)

Public Attributes

 $mModule = null
 $mLog = null
 $mForceMode = false

Detailed Description

This is a abstract class for the process of install, update and uninstall.


Member Function Documentation

Legacy_AbstractModuleInstaller::execute (  ) 

Start callback to required member functions with module install framework.

Returns:
bool

& Legacy_AbstractModuleInstaller::loadModuleObject ( dirname  )  [static]

Load xoops module object and return it.

public

Parameters:
$dirname string
Returns:
XoopsModule

Legacy_AbstractModuleInstaller::_installBlock (  ) 

Install or uninstall blocks and their templates, this function is called by own execute().

Legacy_AbstractModuleInstaller::_installNotification (  ) 

Install or uninstall notifications, this member function is called by own execute().

protected

Legacy_AbstractModuleInstaller::_installPreference (  ) 

Install or uninstall blocks and their preference, this function is called by own execute().

Legacy_AbstractModuleInstaller::setForceMode ( flag  ) 

If set true, this class may never stop for error.

Legacy_AbstractModuleInstaller::_processReport (  ) 

This member function is called back at the last part of execute(). Report the conclusion to the log.

& Legacy_AbstractModuleInstaller::getLog (  ) 

Return log instance.


Member Data Documentation

Legacy_AbstractModuleInstaller::$mModule = null

XoopsModule

Legacy_AbstractModuleInstaller::$mLog = null

Legacy_ModuleUtilsSimpleLog

Legacy_AbstractModuleInstaller::$mForceMode = false

If this flag is true, never stop processing.


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 00:27:10 2006 for XOOPS Cube Legacy by  doxygen 1.5.1