Legacy_ModuleInstallAction Class Reference

Module Install function having possibility to extend by module developers. More...

List of all members.

Public Member Functions

 executeViewSuccess (&$controller, &$xoopsUser, &$renderer)
 executeViewInput (&$controller, &$xoopsUser, &$renderer)


Detailed Description

Module Install function having possibility to extend by module developers.

The precondition is that the specified module has been not installed.

The custom-installer

Module developers can use their own custom-installer in this action. Unlike the module update function, the standard installer in this action is perhaps no problems. But, duplicatable modules or some modules with the special framework may need the custom-installer.

Convention

See Legacy_ModuleInstallAction::_getInstaller().

You must declare your sub-class of Legacy_ModuleInstaller as {namespace}_{classname} in {filepath}. You must specify classname. Others are decided by the naming convention without your descriptions. Namespace is ucfirst(dirname). Filepath is "admin/class/{classname}.class.php".

For example, "news" module.

$modversion['legacy_installer']['installer']['class'] = "Installer";

You must declare News_Installer in XOOPS_ROOT_PATH . "/modules/news/admin/class/Installerr.class.php".

In the case where you specify the filepath, take care you describe the filepath with absolute path.

Install Process

See also:
Legacy_ModuleInstallAction::_getInstaller()

Legacy_ModuleInstaller

Legacy_ModuleInstallUtils

Todo:
These classes are good to abstract again.


Member Function Documentation

Legacy_ModuleInstallAction::executeViewSuccess ( &$  controller,
&$  xoopsUser,
&$  renderer 
)

Todo:
no $renderer. It should be $render.

Legacy_ModuleInstallAction::executeViewInput ( &$  controller,
&$  xoopsUser,
&$  renderer 
)

Todo:
no $renderer. It should be $render.


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