ILIAS
Release_4_2_x_branch Revision 61807
|
Access handler for portfolio. More...
Public Member Functions | |
__construct () | |
checkAccess ($a_permission, $a_cmd, $a_node_id, $a_type="") | |
check access for an object | |
checkAccessOfUser ($a_user_id, $a_permission, $a_cmd, $a_node_id, $a_type="") | |
check access for an object | |
setPermissions ($a_parent_node_id, $a_node_id) | |
Set permissions after creating node/object. | |
addPermission ($a_node_id, $a_object_id, $a_extended_data=null) | |
Add permission to node for object. | |
removePermission ($a_node_id, $a_object_id=null) | |
Remove permission[s] (for object) to node. | |
getPermissions ($a_node_id) | |
Get all permissions to node. | |
hasRegisteredPermission ($a_node_id) | |
hasGlobalPermission ($a_node_id) | |
hasGlobalPasswordPermission ($a_node_id) | |
getObjectsIShare () | |
getSharedOwners () | |
getSharedObjects ($a_owner_id) |
Static Public Member Functions | |
static | getPossibleSharedTargets () |
static | getSharedNodePassword ($a_node_id) |
static | keepSharedSessionPassword ($a_node_id, $a_password) |
static | getSharedSessionPassword ($a_node_id) |
Access handler for portfolio.
Definition at line 18 of file class.ilPortfolioAccessHandler.php.
ilPortfolioAccessHandler::__construct | ( | ) |
Definition at line 20 of file class.ilPortfolioAccessHandler.php.
References $lng.
ilPortfolioAccessHandler::addPermission | ( | $a_node_id, | |
$a_object_id, | |||
$a_extended_data = null |
|||
) |
Add permission to node for object.
int | $a_node_id | |
int | $a_object_id | |
string | $a_extended_data |
Definition at line 165 of file class.ilPortfolioAccessHandler.php.
References $ilDB.
ilPortfolioAccessHandler::checkAccess | ( | $a_permission, | |
$a_cmd, | |||
$a_node_id, | |||
$a_type = "" |
|||
) |
check access for an object
string | $a_permission | |
string | $a_cmd | |
int | $a_node_id | |
string | $a_type | (optional) |
Definition at line 35 of file class.ilPortfolioAccessHandler.php.
References checkAccessOfUser().
ilPortfolioAccessHandler::checkAccessOfUser | ( | $a_user_id, | |
$a_permission, | |||
$a_cmd, | |||
$a_node_id, | |||
$a_type = "" |
|||
) |
check access for an object
integer | $a_user_id | |
string | $a_permission | |
string | $a_cmd | |
int | $a_node_id | |
string | $a_type | (optional) |
Definition at line 52 of file class.ilPortfolioAccessHandler.php.
References ilGroupParticipants\_getInstanceByObjId(), ilCourseParticipants\_getInstanceByObjId(), ilObject\_lookupType(), getPermissions(), ilWorkspaceAccessGUI\PERMISSION_ALL, ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD, and ilWorkspaceAccessGUI\PERMISSION_REGISTERED.
Referenced by checkAccess().
ilPortfolioAccessHandler::getObjectsIShare | ( | ) |
Definition at line 252 of file class.ilPortfolioAccessHandler.php.
ilPortfolioAccessHandler::getPermissions | ( | $a_node_id | ) |
Get all permissions to node.
int | $a_node_id |
Definition at line 208 of file class.ilPortfolioAccessHandler.php.
References $ilDB, $res, and $row.
Referenced by checkAccessOfUser(), and ilSharedResourceGUI\hasAccess().
|
static |
Definition at line 269 of file class.ilPortfolioAccessHandler.php.
References ilParticipants\_getMembershipByType(), ilWorkspaceAccessGUI\PERMISSION_ALL, ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD, and ilWorkspaceAccessGUI\PERMISSION_REGISTERED.
Referenced by getSharedObjects(), and getSharedOwners().
|
static |
Definition at line 333 of file class.ilPortfolioAccessHandler.php.
References $ilDB, $res, and ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD.
Referenced by ilSharedResourceGUI\checkPassword().
ilPortfolioAccessHandler::getSharedObjects | ( | $a_owner_id | ) |
Definition at line 313 of file class.ilPortfolioAccessHandler.php.
References $ilDB, $res, $row, and getPossibleSharedTargets().
ilPortfolioAccessHandler::getSharedOwners | ( | ) |
Definition at line 287 of file class.ilPortfolioAccessHandler.php.
References $ilDB, $row, and getPossibleSharedTargets().
|
static |
Definition at line 354 of file class.ilPortfolioAccessHandler.php.
References $_SESSION.
ilPortfolioAccessHandler::hasGlobalPasswordPermission | ( | $a_node_id | ) |
Definition at line 242 of file class.ilPortfolioAccessHandler.php.
References $ilDB, and ilWorkspaceAccessGUI\PERMISSION_ALL_PASSWORD.
ilPortfolioAccessHandler::hasGlobalPermission | ( | $a_node_id | ) |
Definition at line 232 of file class.ilPortfolioAccessHandler.php.
References $ilDB, and ilWorkspaceAccessGUI\PERMISSION_ALL.
ilPortfolioAccessHandler::hasRegisteredPermission | ( | $a_node_id | ) |
Definition at line 222 of file class.ilPortfolioAccessHandler.php.
References $ilDB, and ilWorkspaceAccessGUI\PERMISSION_REGISTERED.
|
static |
Definition at line 349 of file class.ilPortfolioAccessHandler.php.
References $_SESSION.
Referenced by ilSharedResourceGUI\checkPassword().
ilPortfolioAccessHandler::removePermission | ( | $a_node_id, | |
$a_object_id = null |
|||
) |
Remove permission[s] (for object) to node.
int | $a_node_id | |
int | $a_object_id |
Definition at line 187 of file class.ilPortfolioAccessHandler.php.
ilPortfolioAccessHandler::setPermissions | ( | $a_parent_node_id, | |
$a_node_id | |||
) |
Set permissions after creating node/object.
int | $a_parent_node_id | |
int | $a_node_id |
Definition at line 153 of file class.ilPortfolioAccessHandler.php.