Stud.IP  4.2 Revision
biest7866-fix.php File Reference

Functions

 setFolderRangeId ($parent_folder, $range_id)
 

Variables

 $root_folders = DBManager::get()->fetchAll("SELECT `id`, `range_id` FROM `folders` WHERE `parent_id` = ''")
 

Function Documentation

◆ setFolderRangeId()

setFolderRangeId (   $parent_folder,
  $range_id 
)

This script sets folder range_ids to the range_ids of their parent folder.

Author
Thomas Hackl thoma.nosp@m.s.ha.nosp@m.ckl@u.nosp@m.ni-p.nosp@m.assau.nosp@m..de
See also
https://develop.studip.de/trac/ticket/7866 Sets the range_id of all child folders to the given range_id.
Parameters
$parent_folder
$range_id
Here is the call graph for this function:

Variable Documentation

◆ $root_folders

$root_folders = DBManager::get()->fetchAll("SELECT `id`, `range_id` FROM `folders` WHERE `parent_id` = ''")