Stud.IP
2.0 Revision 48548
|
Variables | |
$res_obj = ResourceObject::Factory() | |
$snap = new DbSnapshot(new DB_Seminar("SELECT resource_id, parent_id FROM resources_objects INNER JOIN resources_categories USING(category_id) WHERE is_room = 1")) |
$res_obj = ResourceObject::Factory() |
use this script to get a sample config_room_groups.inc.php based on existing rooms and resources structure, writes to STDOUT
$snap = new DbSnapshot(new DB_Seminar("SELECT resource_id, parent_id FROM resources_objects INNER JOIN resources_categories USING(category_id) WHERE is_room = 1")) |