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

Static Public Member Functions

static createRange ($type, $id)
 

Detailed Description

Factory for ranges.

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m GPL2 or any later version
Since
Stud.IP 4.1

Member Function Documentation

◆ createRange()

static createRange (   $type,
  $id 
)
static

Create a range by given type and id.

Parameters
string$typeRange type
mixed$idRange id
Returns
mixed any of the supported range types  
Exceptions
Exceptionwhen an invalid range type was given
Todo:
Should this be more dynamic in case any more ranges are added?
Here is the caller graph for this function:

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