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.
- Xoops\Core\Kernel\XoopsObjectHandler
- Xoops\Core\Kernel\XoopsPersistableObjectHandler
- Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
Namespace: Xoops\Core\Kernel\Handlers
Package: Xoops\Core\Kernel
Category: Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Kernel/Handlers/XoopsGroupPermHandler.php
Package: Xoops\Core\Kernel
Category: Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
Copyright: 2000-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Kazumi Ono onokazu@xoops.org
Link: http://xoops.org
Located at oops_lib/Xoops/Core/Kernel/Handlers/XoopsGroupPermHandler.php
public
|
|
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|array $gperm_groupid, integer $gperm_modid = 1, boolean $trueifadmin = true )
Check permission |
public
boolean
|
|
public
array
|
#
getItemIds( string $gperm_name, integer|array $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 |
$className,
$field_link,
$field_object,
$handler,
$identifierName,
$keyName,
$keyName_link,
$table,
$table_link
|
$db2
|