XOOPS 2.5.6
Final
|
Go to the source code of this file.
Functions | |
xoops_module_activate ($mid) | |
xoops_module_change ($mid, $name) | |
xoops_module_deactivate ($mid) | |
& | xoops_module_gettemplate ($dirname, $template, $type= '') |
xoops_module_install ($dirname) | |
xoops_module_log_header ($module, $title) | |
xoops_module_uninstall ($dirname) | |
xoops_module_activate | ( | $mid | ) |
Definition at line 651 of file modulesadmin.php.
References $i, $mid, $module, $module_handler, $ret, _AM_SYSTEM_MODULES_ACTIVATE, _AM_SYSTEM_MODULES_BTOMADMIN, _AM_SYSTEM_MODULES_ERRORSC, _AM_SYSTEM_MODULES_FAILACT, _AM_SYSTEM_MODULES_OKACT, XoopsBlock\getByModule(), xoops_gethandler(), xoops_module_log_header(), and xoops_template_clear_module_cache().
xoops_module_change | ( | $mid, | |
$name | |||
) |
Definition at line 715 of file modulesadmin.php.
References $mid, $module, $module_handler, $myts, $ret, _AM_SYSTEM_MODULES_ERRORSC, _AM_SYSTEM_MODULES_FAILORDER, _AM_SYSTEM_MODULES_OKORDER, MyTextSanitizer\getInstance(), and xoops_gethandler().
xoops_module_deactivate | ( | $mid | ) |
Definition at line 680 of file modulesadmin.php.
References $i, $mid, $module, $module_handler, $ret, $xoopsConfig, _AM_SYSTEM_MODULES_BTOMADMIN, _AM_SYSTEM_MODULES_DEACTIVATE, _AM_SYSTEM_MODULES_ERRORSC, _AM_SYSTEM_MODULES_FAILDEACT, _AM_SYSTEM_MODULES_OKDEACT, _AM_SYSTEM_MODULES_STRTNO, _AM_SYSTEM_MODULES_SYSNO, XoopsBlock\getByModule(), xoops_gethandler(), xoops_module_log_header(), and xoops_template_clear_module_cache().
& xoops_module_gettemplate | ( | $dirname, | |
$template, | |||
$type = '' |
|||
) |
Definition at line 448 of file modulesadmin.php.
References $dirname, $i, $path, $ret, $type, and $xoopsConfig.
Referenced by xoops_module_install().
xoops_module_install | ( | $dirname | ) |
Definition at line 39 of file modulesadmin.php.
References $config, $config_handler, $configs, $content, $db, $dirname, $error, $GLOBALS, $gperm_handler, $groups, $module, $module_handler, $options, $result, $ret, $sql, $tpl, $type, $xoopsConfig, $xoopsUser, _AM_SYSTEM_BLOCKS, _AM_SYSTEM_MODULES_ACCESS_ADMIN_ADD, _AM_SYSTEM_MODULES_ACCESS_ADMIN_ADD_ERROR, _AM_SYSTEM_MODULES_ACCESS_USER_ADD_ERROR, _AM_SYSTEM_MODULES_ADMIN, _AM_SYSTEM_MODULES_ALEXISTS, _AM_SYSTEM_MODULES_BLOCK_ACCESS, _AM_SYSTEM_MODULES_BLOCK_ACCESS_ERROR, _AM_SYSTEM_MODULES_BLOCK_ADD, _AM_SYSTEM_MODULES_BLOCK_ADD_ERROR, _AM_SYSTEM_MODULES_BLOCK_ADD_ERROR_DATABASE, _AM_SYSTEM_MODULES_BLOCK_ID, _AM_SYSTEM_MODULES_BLOCKS_ADD, _AM_SYSTEM_MODULES_BTOMADMIN, _AM_SYSTEM_MODULES_CONFIG_ADD, _AM_SYSTEM_MODULES_CONFIG_DATA_ADD, _AM_SYSTEM_MODULES_CONFIG_DATA_ADD_ERROR, _AM_SYSTEM_MODULES_CREATE_TABLES, _AM_SYSTEM_MODULES_ERRORSC, _AM_SYSTEM_MODULES_FAILED_EXECUTE, _AM_SYSTEM_MODULES_FAILED_SUCESS, _AM_SYSTEM_MODULES_FAILINS, _AM_SYSTEM_MODULES_GROUP_ID, _AM_SYSTEM_MODULES_GROUP_SETTINGS_ADD, _AM_SYSTEM_MODULES_INSERT_DATA, _AM_SYSTEM_MODULES_INSERT_DATA_DONE, _AM_SYSTEM_MODULES_INSERT_DATA_FAILD, _AM_SYSTEM_MODULES_INSTALLING, _AM_SYSTEM_MODULES_MODULE, _AM_SYSTEM_MODULES_MODULE_DATA_ADD, _AM_SYSTEM_MODULES_MODULEID, _AM_SYSTEM_MODULES_NAME, _AM_SYSTEM_MODULES_OKINS, _AM_SYSTEM_MODULES_SQL_FOUND, _AM_SYSTEM_MODULES_SQL_NOT_FOUND, _AM_SYSTEM_MODULES_SQL_NOT_VALID, _AM_SYSTEM_MODULES_TABLE_CREATED, _AM_SYSTEM_MODULES_TABLE_RESERVED, _AM_SYSTEM_MODULES_TEMPLATE_ADD_DATA, _AM_SYSTEM_MODULES_TEMPLATE_ADD_ERROR, _AM_SYSTEM_MODULES_TEMPLATE_COMPILED, _AM_SYSTEM_MODULES_TEMPLATE_COMPILED_FAILED, _AM_SYSTEM_MODULES_TEMPLATES_ADD, _AM_SYSTEM_MODULES_TOINSTALL, _AM_SYSTEM_MODULES_VALUE, _AM_SYSTEM_PREF, _AUTHOR, _VERSION, XoopsBlock\getByModule(), notificationCategoryInfo(), notificationEvents(), SqlUtility\prefixQuery(), SqlUtility\splitMySqlFile(), XOOPS_COMMENT_APPROVEADMIN, XOOPS_COMMENT_APPROVEALL, XOOPS_COMMENT_APPROVENONE, XOOPS_COMMENT_APPROVEUSER, XOOPS_DB_TYPE, xoops_gethandler(), xoops_module_gettemplate(), XOOPS_NOTIFICATION_DISABLE, XOOPS_NOTIFICATION_ENABLEBLOCK, XOOPS_NOTIFICATION_ENABLEBOTH, XOOPS_NOTIFICATION_ENABLEINLINE, xoops_template_clear_module_cache(), and xoops_template_touch().
xoops_module_log_header | ( | $module, | |
$title | |||
) |
Definition at line 729 of file modulesadmin.php.
References $module, $title, _AUTHOR, and _VERSION.
Referenced by xoops_module_activate(), and xoops_module_deactivate().
xoops_module_uninstall | ( | $dirname | ) |
Definition at line 475 of file modulesadmin.php.
References $comment_handler, $config_handler, $configs, $db, $dirname, $gperm_handler, $i, $j, $module, $module_handler, $result, $ret, $sql, $xoopsConfig, _AM_SYSTEM_MODULES_BLOCK_DELETE, _AM_SYSTEM_MODULES_BLOCK_DELETE_DATA, _AM_SYSTEM_MODULES_BLOCK_DELETE_ERROR, _AM_SYSTEM_MODULES_BLOCK_DELETE_TEMPLATE_ERROR, _AM_SYSTEM_MODULES_BLOCK_ID, _AM_SYSTEM_MODULES_BLOCKS_DELETE, _AM_SYSTEM_MODULES_BTOMADMIN, _AM_SYSTEM_MODULES_COMMENTS_DELETE, _AM_SYSTEM_MODULES_COMMENTS_DELETE_ERROR, _AM_SYSTEM_MODULES_COMMENTS_DELETED, _AM_SYSTEM_MODULES_CONFIG_DATA_DELETE_ERROR, _AM_SYSTEM_MODULES_DELETE_ERROR, _AM_SYSTEM_MODULES_DELETE_MOD_TABLES, _AM_SYSTEM_MODULES_ERRORSC, _AM_SYSTEM_MODULES_FAILED_EXECUTE, _AM_SYSTEM_MODULES_FAILED_SUCESS, _AM_SYSTEM_MODULES_FAILUNINS, _AM_SYSTEM_MODULES_GONFIG_DATA_DELETE, _AM_SYSTEM_MODULES_GONFIG_ID, _AM_SYSTEM_MODULES_GROUP_PERMS_DELETE_ERROR, _AM_SYSTEM_MODULES_GROUP_PERMS_DELETED, _AM_SYSTEM_MODULES_MODULE_DATA_DELETE, _AM_SYSTEM_MODULES_NOTIFICATIONS_DELETE, _AM_SYSTEM_MODULES_NOTIFICATIONS_DELETE_ERROR, _AM_SYSTEM_MODULES_NOTIFICATIONS_DELETED, _AM_SYSTEM_MODULES_OKUNINS, _AM_SYSTEM_MODULES_STRTNO, _AM_SYSTEM_MODULES_SYSNO, _AM_SYSTEM_MODULES_TABLE_DROPPED, _AM_SYSTEM_MODULES_TABLE_DROPPED_ERROR, _AM_SYSTEM_MODULES_TABLE_DROPPED_FAILDED, _AM_SYSTEM_MODULES_TEMPLATE_DELETE_DATA, _AM_SYSTEM_MODULES_TEMPLATE_DELETE_DATA_FAILD, _AM_SYSTEM_MODULES_TEMPLATE_ID, _AM_SYSTEM_MODULES_TEMPLATES_DELETE, _AM_SYSTEM_MODULES_UNINSTAL, _AUTHOR, _VERSION, XoopsBlock\getByModule(), XoopsDatabaseFactory\getDatabaseConnection(), xoops_gethandler(), xoops_notification_deletebymodule(), and xoops_template_clear_module_cache().