This class provides interface for module install.
Located in /include/module_install.php [line 19]
ModuleAcl | --ModulePrimitive | --ModuleInstall
Methods
Inherited From ModulePrimitive
ModulePrimitive::__construct() ModulePrimitive::check_access() Checks access to function which name is passed as first parameter. ModulePrimitive::create_data_dir() Creates default data directory for module. Typical usage: in module installation ModulePrimitive::get_data_dir() Returns path to the default data directory for module calling this method. ModulePrimitive::get_module_dir() Returns path to the module directory. ModulePrimitive::get_type() Returns name(type) of module that called this function. ModulePrimitive::get_type_with_bt() ModulePrimitive::remove_data_dir() Removes default data directory of a module. Typical usage: in module uninstallation
Inherited From ModuleAcl
ModuleAcl::acl_check() ModuleAcl::add_aco() ModuleAcl::del_aco() ModuleAcl::get_type()
true install( )
Module installation function.
array requires( $v )
Returns array that contains information about modules required by this module.
The array should be determined by the version number that is given as parameter.
true uninstall( )
Module uninstallation function.