XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
deleteBlocks (XoopsModule $module) | |
deleteConfigs (XoopsModule $module) | |
deleteTemplates (XoopsModule $module) | |
getInstalledModules () | |
getModuleList () | |
getTemplate ($dirname, $template, $type= '') | |
install ($mod= '', $force=false) | |
installBlocks (XoopsModule $module) | |
installconfigs (XoopsModule $module) | |
installTemplates (XoopsModule $module) | |
uninstall ($mod= '') | |
update ($mod= '') | |
Public Attributes | |
$error = array() | |
$trace = array() | |
Protected Attributes | |
$config_delng = array() | |
$config_old = array() | |
$modulesDirnames = array() | |
$modulesList = array() | |
$reservedTables | |
$template_delng = array() | |
Definition at line 30 of file module.php.
SystemModule::__construct | ( | ) |
Constructor
Definition at line 63 of file module.php.
References $module, $module_handler, $modules, $xoops, and Xoops\getInstance().
SystemModule::deleteBlocks | ( | XoopsModule | $module | ) |
deleteBlocks
XoopsModule | $module | module |
Definition at line 1015 of file module.php.
References $xoops, SystemLocaleEn_US\EF_BLOCK_NOT_DELETED, SystemLocaleEn_US\EF_BLOCK_TEMPLATE_NOT_DELETED, SystemLocaleEn_US\F_BLOCK_ID, SystemLocaleEn_US\F_TEMPLATE_ID, Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\getVar(), SystemLocaleEn_US\MANAGING_BLOCKS, SystemLocaleEn_US\SF_BLOCK_DELETED, and SystemLocaleEn_US\SF_BLOCK_TEMPLATE_DELETED.
Referenced by uninstall().
SystemModule::deleteConfigs | ( | XoopsModule | $module | ) |
deleteConfigs
XoopsModule | $module | module |
Definition at line 1077 of file module.php.
References $config, $config_handler, $configs, $xoops, SystemLocaleEn_US\E_CONFIG_DATA_NOT_DELETED, SystemLocaleEn_US\F_CONFIG_ID, Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\getVar(), SystemLocaleEn_US\MANAGING_PREFERENCES, and SystemLocaleEn_US\S_CONFIG_DATA_DELETED.
Referenced by uninstall(), and update().
SystemModule::deleteTemplates | ( | XoopsModule | $module | ) |
deleteTemplates
XoopsModule | $module | module context |
Definition at line 811 of file module.php.
References $xoops, Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\getVar(), and SystemLocaleEn_US\MANAGING_TEMPLATES.
Referenced by uninstall(), and update().
SystemModule::getInstalledModules | ( | ) |
getInstalledModules
Definition at line 160 of file module.php.
References $file, $i, $module, $module_handler, $xoops, XoopsLoad\fileExists(), XoopsBaseConfig\get(), and Xoops\getInstance().
SystemModule::getModuleList | ( | ) |
getModuleList
Definition at line 83 of file module.php.
References $criteria, $groups, $module, $module_handler, $moduleperm_handler, $modules, $xoops, XoopsLoad\fileExists(), Xoops_Locale_Abstract\formatTimestamp(), XoopsBaseConfig\get(), and Xoops\getInstance().
SystemModule::getTemplate | ( | $dirname, | |
$template, | |||
$type = '' |
|||
) |
getTemplate
string | $dirname | module directory |
string | $template | template name |
string | $type | template type - blocks, admin |
Definition at line 692 of file module.php.
References $count, $dirname, $i, $path, $type, $xoops, XoopsLoad\fileExists(), and Xoops\getInstance().
Referenced by installBlocks(), and installTemplates().
SystemModule::install | ( | $mod = '' , |
|
$force = false |
|||
) |
install a module
string | $mod | module dirname |
boolean | $force | force query |
Definition at line 197 of file module.php.
References $gperm_handler, $groups, $module, $module_handler, $result, $xoops, XoopsLocaleEn_US\C_ERRORS, SystemLocaleEn_US\E_BLOCK_ACCESS_NOT_ADDED, SystemLocaleEn_US\EF_GROUP_ID_ADMIN_ACCESS_RIGHT_NOT_ADDED, SystemLocaleEn_US\EF_GROUP_ID_USER_ACCESS_RIGHT_NOT_ADDED, XoopsLocaleEn_US\EF_INVALID_SQL, XoopsLocaleEn_US\EF_NOT_EXECUTED, XoopsLocaleEn_US\EF_NOT_INSERTED_TO_DATABASE, XoopsLocaleEn_US\EF_NOT_INSTALLED, SystemLocaleEn_US\EF_SQL_FILE_NOT_FOUND, SystemLocaleEn_US\EF_TABLE_IS_RESERVED, SystemLocaleEn_US\F_BLOCK_ID, SystemLocaleEn_US\F_GROUP_ID, SystemLocaleEn_US\F_MODULE_ID, XoopsLoad\fileExists(), XoopsBaseConfig\get(), Xoops\Core\Events\getInstance(), Xoops\getInstance(), Xoops\Core\Database\Schema\ImportSchema\importSchemaArray(), installBlocks(), installTemplates(), XoopsLoad\loadFile(), SystemLocaleEn_US\MANAGING_PERMISSIONS, SystemLocaleEn_US\MANAGING_TABLES, SqlUtility\prefixQuery(), SystemLocaleEn_US\S_BLOCK_ACCESS_ADDED, XoopsLocaleEn_US\S_DATA_INSERTED, XoopsLocaleEn_US\SF_DATA_INSERTED_TO_TABLE, XoopsLocaleEn_US\SF_EXECUTED, SystemLocaleEn_US\SF_GROUP_ID_ADMIN_ACCESS_RIGHT_ADDED, SystemLocaleEn_US\SF_GROUP_ID_USER_ACCESS_RIGHT_ADDED, XoopsLocaleEn_US\SF_INSTALLED, SystemLocaleEn_US\SF_SQL_FILE_FOUND, XoopsLocaleEn_US\SF_TABLE_CREATED, and SqlUtility\splitMySqlFile().
SystemModule::installBlocks | ( | XoopsModule | $module | ) |
installBlocks
XoopsModule | $module | module context |
Definition at line 835 of file module.php.
References $criteria, $i, $xoops, SystemLocaleEn_US\E_BLOCK_TEMPLATE_DEPRECATED_NOT_REMOVED, SystemLocaleEn_US\EF_BLOCK_NOT_DELETED, XoopsLocaleEn_US\EF_NOT_UPDATED, SystemLocaleEn_US\EF_TEMPLATE_NOT_RECOMPILED, SystemLocaleEn_US\EF_TEMPLATE_NOT_UPDATED, SystemLocaleEn_US\F_BLOCK_ID, XoopsModule\getInfo(), Xoops\getInstance(), getTemplate(), Xoops\Core\Kernel\XoopsObject\getVar(), SystemLocaleEn_US\MANAGING_BLOCKS, SystemLocaleEn_US\SF_BLOCK_DELETED, SystemLocaleEn_US\SF_BLOCK_TEMPLATE_DEPRECATED, SystemLocaleEn_US\SF_BLOCK_UPDATED, SystemLocaleEn_US\SF_TEMPLATE_RECOMPILED, and SystemLocaleEn_US\SF_TEMPLATE_UPDATED.
Referenced by install(), and update().
SystemModule::installconfigs | ( | XoopsModule | $module | ) |
installconfigs
XoopsModule | $module | module being installed |
Definition at line 1112 of file module.php.
References $config, $config_handler, $configs, $xoops, XoopsLocaleEn_US\C_NAME, XoopsLocaleEn_US\C_VALUE, SystemLocaleEn_US\EF_CONFIG_NOT_ADDED, XoopsModule\getInfo(), Xoops\Core\Events\getInstance(), Xoops\getInstance(), Xoops\Core\Kernel\XoopsObject\getVar(), SystemLocaleEn_US\MANAGING_PREFERENCES, SystemLocaleEn_US\S_CONFIG_OPTION_ADDED, SystemLocaleEn_US\SF_CONFIG_ADDED, and Xoops_Locale\translate().
SystemModule::installTemplates | ( | XoopsModule | $module | ) |
installTemplates
XoopsModule | $module | module context |
Definition at line 727 of file module.php.
References $tpl, $type, $xoops, SystemLocaleEn_US\EF_TEMPLATE_NOT_ADDED_TO_DATABASE, SystemLocaleEn_US\EF_TEMPLATE_NOT_DELETED, SystemLocaleEn_US\EF_TEMPLATE_NOT_RECOMPILED, XoopsModule\getInfo(), Xoops\getInstance(), getTemplate(), Xoops\Core\Kernel\XoopsObject\getVar(), SystemLocaleEn_US\MANAGING_TEMPLATES, SystemLocaleEn_US\SF_TEMPLATE_ADDED, and SystemLocaleEn_US\SF_TEMPLATE_RECOMPILED.
Referenced by install(), and update().
SystemModule::uninstall | ( | $mod = '' | ) |
uninstall
string | $mod | module dirname |
Definition at line 471 of file module.php.
References $gperm_handler, $module, $module_handler, $result, $xoops, XoopsLocaleEn_US\C_ERRORS, deleteBlocks(), deleteConfigs(), deleteTemplates(), SystemLocaleEn_US\E_GROUP_PERMISSIONS_NOT_DELETED, SystemLocaleEn_US\E_SYSTEM_MODULE_CANNOT_BE_DEACTIVATED, SystemLocaleEn_US\E_THIS_MODULE_IS_SET_AS_DEFAULT_START_PAGE, XoopsLocaleEn_US\EF_NOT_DELETED, XoopsLocaleEn_US\EF_NOT_EXECUTED, XoopsLocaleEn_US\EF_NOT_UNINSTALLED, XoopsLocaleEn_US\EF_TABLE_DROP_NOT_ALLOWED, Xoops\Core\Events\getInstance(), Xoops\getInstance(), XoopsLoad\loadFile(), SystemLocaleEn_US\MANAGING_TABLES, SystemLocaleEn_US\S_GROUP_PERMISSIONS_DELETED, XoopsLocaleEn_US\SF_EXECUTED, XoopsLocaleEn_US\SF_TABLE_DROPPED, and XoopsLocaleEn_US\SF_UNINSTALLED.
SystemModule::update | ( | $mod = '' | ) |
update
string | $mod | module dirname |
Definition at line 594 of file module.php.
References $module, $module_handler, $result, $xoops, deleteConfigs(), deleteTemplates(), XoopsLocaleEn_US\EF_NOT_EXECUTED, XoopsLocaleEn_US\EF_NOT_UPDATED, SystemLocaleEn_US\EF_SQL_FILE_NOT_FOUND, XoopsLoad\fileExists(), XoopsBaseConfig\get(), Xoops\getInstance(), Xoops\Core\Database\Schema\ImportSchema\importSchemaArray(), installBlocks(), installTemplates(), XoopsLoad\loadFile(), XoopsLocaleEn_US\SF_EXECUTED, and XoopsLocaleEn_US\SF_UPDATED.
|
protected |
Definition at line 36 of file module.php.
|
protected |
Definition at line 38 of file module.php.
SystemModule::$error = array() |
Definition at line 32 of file module.php.
|
protected |
Definition at line 35 of file module.php.
|
protected |
Definition at line 34 of file module.php.
|
protected |
Definition at line 39 of file module.php.
|
protected |
Definition at line 37 of file module.php.
SystemModule::$trace = array() |
Definition at line 33 of file module.php.