Stud.IP  4.2 Revision
CoursesetModel Class Reference
Collaboration diagram for CoursesetModel:
Collaboration graph

Static Public Member Functions

static getInstCourses ($instituteIds, $coursesetId='', $selectedCourses=[], $semester_id=null, $filter=false)
 
static getInstitutes ($filter=array())
 

Member Function Documentation

◆ getInstCourses()

static getInstCourses (   $instituteIds,
  $coursesetId = '',
  $selectedCourses = [],
  $semester_id = null,
  $filter = false 
)
static

Fetches courses at the given institutes.

Parameters
Array$instituteIdsIDs of institutes to check
String$coursesetIdGet also courses assigned to the given courseset
Array$selectedCoursesCourses that have already been selected manually
String$semester_idGet only courses belonging to the given semester
mixed$filterFetch only courses fulfilling a search string or of a certain lecturer?
Returns
Array Found courses.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getInstitutes()

static getInstitutes (   $filter = array())
static

Fetch institutes for course sets.

Parameters
Array$filterfilter settings, e.g. a special subset of allowed admission rules
Returns
Array Found institutes.
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: