Public Member Functions | |
loadRolesByMid ($mid) | |
loadRolesByDirname ($dirname) | |
Static Public Member Functions | |
loadRolesByModule (&$module) |
Legacy_RoleManager::loadRolesByModule | ( | &$ | module | ) | [static] |
Loads roles of the specific module with $module, and set loaded roles to the current principal.
XoopsModule | $module |
Legacy_RoleManager::loadRolesByMid | ( | $ | mid | ) |
Loads roles of the specific module with $mid, and set loaded roles to the current principal.
int | $mid |
Legacy_RoleManager::loadRolesByDirname | ( | $ | dirname | ) |
Loads roles of the specific module with $dirname, and set loaded roles to the current principal.
string | $dirname The dirname of the specific module. |