XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_RoleManager Class Reference

Public Member Functions

 loadRolesByMid ($mid)
 
 loadRolesByDirname ($dirname)
 

Static Public Member Functions

 loadRolesByModule (&$module)
 

Detailed Description

Note
draft

Definition at line 14 of file Legacy_RoleManager.class.php.

Member Function Documentation

◆ loadRolesByDirname()

loadRolesByDirname ( $dirname)

Loads roles of the specific module with $dirname, and set loaded roles to the current principal.

Parameters
string$dirnameThe dirname of the specific module.
See also
loadRolesByMid()

Definition at line 78 of file Legacy_RoleManager.class.php.

◆ loadRolesByMid()

loadRolesByMid ( $mid)

Loads roles of the specific module with $mid, and set loaded roles to the current principal.

Parameters
int$mid

Definition at line 62 of file Legacy_RoleManager.class.php.

◆ loadRolesByModule()

loadRolesByModule ( & $module)
static

Loads roles of the specific module with $module, and set loaded roles to the current principal.

Parameters
XoopsModule$module

Definition at line 22 of file Legacy_RoleManager.class.php.


The documentation for this class was generated from the following file: