Class XoopsGroupPermHandler
XOOPS group permission handler class.
This class is responsible for providing data access mechanisms to the data source of XOOPS group permission class objects. This class is an abstract class to be implemented by child group permission classes.
- XoopsObjectHandler
- XoopsGroupPermHandler
Package: kernel
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
See:
Located at ernel/groupperm.php
Copyright: (c) 2000-2016 XOOPS Project (www.xoops.org)
License: GPL 2 (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
See:
XoopsGroupPerm
Located at ernel/groupperm.php
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
array
|
#
getObjects(
Retrieve multiple |
public
integer
|
|
public
boolean
|
|
public
boolean
|
#
deleteByGroup( integer $gperm_groupid, integer $gperm_modid = null )
Delete all module specific permissions assigned for a group |
public
boolean
|
#
deleteByModule( integer $gperm_modid, string $gperm_name = null, integer $gperm_itemid = null )
Delete all module specific permissions |
public
boolean
|
#
checkRight( string $gperm_name, integer $gperm_itemid, integer $gperm_groupid, integer $gperm_modid = 1, boolean $trueifadmin = true )
Check permission |
public
boolean
|
|
public
array
|
#
getItemIds( string $gperm_name, integer $gperm_groupid, integer $gperm_modid = 1 )
Get all item IDs that a group is assigned a specific permission |
public
array
|
#
getGroupIds( string $gperm_name, integer $gperm_itemid, integer $gperm_modid = 1 )
Get all group IDs assigned a specific permission for a particular item |
XoopsObjectHandler()
|
public
string
|
$table
This should be here, since this really should be a XoopsPersistableObjectHandler Here, we fake it for future compatibility |
$db
|