Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
CoursesetModel Class Reference

Static Public Member Functions

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

Member Function Documentation

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.
static getInstitutes (   $filter = [])
static

Fetch institutes for course sets.

Parameters
Array$filterfilter settings, e.g. a special subset of allowed admission rules
Returns
Array Found institutes.

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