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

Public Member Functions

 __construct ($groupId, &$item)
 
 getId ()
 
 getValue ()
 
 setValue ($value)
 
 _load ()
 
 save ()
 
 _createGperm ($gperm_name=null)
 

Data Fields

 $mGroupId
 
 $mName
 
 $mValue = USER_PERMISSION_NONE
 
 $mItem
 

Detailed Description

Definition at line 11 of file Permission.class.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $groupId,
& $item )

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

Member Function Documentation

◆ _createGperm()

_createGperm ( $gperm_name = null)

Definition at line 76 of file Permission.class.php.

◆ _load()

_load ( )

Definition at line 45 of file Permission.class.php.

◆ getId()

getId ( )

Definition at line 29 of file Permission.class.php.

◆ getValue()

getValue ( )

Definition at line 34 of file Permission.class.php.

◆ save()

save ( )

Save a permission to database.

Definition at line 53 of file Permission.class.php.

◆ setValue()

setValue ( $value)

Definition at line 39 of file Permission.class.php.

Field Documentation

◆ $mGroupId

$mGroupId

Definition at line 13 of file Permission.class.php.

◆ $mItem

$mItem

User_PermissionItem

Definition at line 20 of file Permission.class.php.

◆ $mName

$mName

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

◆ $mValue

$mValue = USER_PERMISSION_NONE

Definition at line 15 of file Permission.class.php.


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