Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
ExistsGroupFolders ($seminar_id) | |
StudipDocumentTree ($args) | |
init () | |
initSubfolders ($parent_id) | |
getPermissionString ($folder_id) | |
checkPermission ($folder_id, $perm, $user_id=null) | |
checkGroupFolder ($folder_id, $user_id) | |
setPermission ($folder_id, $perm) | |
unsetPermission ($folder_id, $perm) | |
setDefaultPermission ($folder_id) | |
isWritable ($folder_id, $user_id=null) | |
isReadable ($folder_id, $user_id=null) | |
isExecutable ($folder_id, $user_id=null) | |
checkCreateFolder ($folder_id, $user_id=null) | |
isGroupFolder ($folder_id) | |
getNextSuperFolder ($folder_id) | |
getRootFolder ($folder_id) | |
isLockedFolder ($folder_id, $user_id=null) | |
isExerciseFolder ($folder_id, $user_id=null) | |
isDownloadFolder ($folder_id, $user_id=null) | |
getReadableFolders ($user_id) | |
getUnreadableFolders ($user_id, $ignore_groups=false) | |
getReadableKidsKids ($item_id, $user_id, $in_recursion=false) | |
isFolder ($item_id) | |
getGroupFolders () | |
Public Member Functions inherited from TreeAbstract | |
TreeAbstract () | |
storeItem ($item_id, $parent_id, $name, $priority) | |
buildIndex ($item_id=false) | |
getKids ($item_id) | |
getNumKids ($item_id) | |
getKidsKids ($item_id, $in_recursion=false) | |
getNumKidsKids ($item_id, $in_recursion=false) | |
isLastKid ($item_id) | |
isFirstKid ($item_id) | |
isChildOf ($ancestor_id, $item_id) | |
hasKids ($item_id) | |
getItemPath ($item_id) | |
getParents ($item_id) | |
getShortPath ($item_id, $depth=false, $delimeter=">") | |
getMaxPriority ($parent_id) | |
getNumEntries ($item_id, $num_entries_from_kids=false) | |
getNumEntriesKids ($item_id, $in_recursion=false) | |
getValue ($item_id, $field) |
Data Fields | |
$range_id | |
$entity_type | |
$must_have_perm | |
$perms = array('x' => 1, 'w' => 2, 'r' => 4, 'f' => 8) | |
$default_perm = 7 | |
$permissions_activated = false | |
$group_folders = array() | |
Data Fields inherited from TreeAbstract | |
$root_name | |
$view | |
$tree_data = array() | |
$tree_childs = array() | |
$tree_num_childs = array() | |
$index_offset = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from TreeAbstract | |
GetInstance ($class_name, $args=null, $invalidate_cache=false) |
checkCreateFolder | ( | $folder_id, | |
$user_id = null |
|||
) |
checkGroupFolder | ( | $folder_id, | |
$user_id | |||
) |
checkPermission | ( | $folder_id, | |
$perm, | |||
$user_id = null |
|||
) |
ExistsGroupFolders | ( | $seminar_id | ) |
getGroupFolders | ( | ) |
getNextSuperFolder | ( | $folder_id | ) |
getPermissionString | ( | $folder_id | ) |
getReadableFolders | ( | $user_id | ) |
getReadableKidsKids | ( | $item_id, | |
$user_id, | |||
$in_recursion = false |
|||
) |
getRootFolder | ( | $folder_id | ) |
getUnreadableFolders | ( | $user_id, | |
$ignore_groups = false |
|||
) |
init | ( | ) |
initializes the tree
stores all folders in array $tree_data public
Reimplemented from TreeAbstract.
initSubfolders | ( | $parent_id | ) |
isDownloadFolder | ( | $folder_id, | |
$user_id = null |
|||
) |
isExecutable | ( | $folder_id, | |
$user_id = null |
|||
) |
isExerciseFolder | ( | $folder_id, | |
$user_id = null |
|||
) |
isFolder | ( | $item_id | ) |
isGroupFolder | ( | $folder_id | ) |
isLockedFolder | ( | $folder_id, | |
$user_id = null |
|||
) |
isReadable | ( | $folder_id, | |
$user_id = null |
|||
) |
isWritable | ( | $folder_id, | |
$user_id = null |
|||
) |
setDefaultPermission | ( | $folder_id | ) |
setPermission | ( | $folder_id, | |
$perm | |||
) |
StudipDocumentTree | ( | $args | ) |
constructor
do not use directly, call TreeAbstract::GetInstance("StudipDocumentTree") private
unsetPermission | ( | $folder_id, | |
$perm | |||
) |
$default_perm = 7 |
$entity_type |
$group_folders = array() |
$must_have_perm |
$permissions_activated = false |
$perms = array('x' => 1, 'w' => 2, 'r' => 4, 'f' => 8) |
$range_id |