Static Public Member Functions |
| static | findBySeminar ($seminar_id) |
| static | findByTermin ($termin_id) |
| static | expireTableScheme () |
| static | find ($id) |
| static | exists ($id) |
| static | countBySql ($where=1, $params=array()) |
| static | create ($data) |
| static | import ($data) |
| static | findBySQL ($where, $params=array()) |
| static | findThru ($foreign_key_value, $options) |
| static | findEachBySQL ($callable, $where, $params=array()) |
| static | findMany ($pks=array(), $order= '', $order_params=array()) |
| static | findEachMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | findAndMapBySQL ($callable, $where, $params=array()) |
| static | findAndMapMany ($callable, $pks=array(), $order= '', $order_params=array()) |
| static | deleteBySQL ($where, $params=array()) |
| static | toObject ($id_or_object) |
| static | __callStatic ($name, $arguments) |
Constructor & Destructor Documentation
| __construct |
( |
|
$id = null | ) |
|
constructor
- Parameters
-
| string | $id | primary key of table seminar_cycle_dates |
- Returns
- null
Reimplemented from SimpleORMap.
Member Function Documentation
| static findBySeminar |
( |
|
$seminar_id | ) |
|
|
static |
returns array of instances of SeminarCycleDates of the given seminar_id
- Parameters
-
| string | seminar_id: selected seminar to search for SeminarCycleDates |
- Returns
- array of instances of SeminarCycleDates of the given seminar_id or an empty array
| static findByTermin |
( |
|
$termin_id | ) |
|
|
static |
return instance of SeminarCycleDates of given termin_id
- Parameters
-
| string | termin_id: selected seminar to search for SeminarCycleDates |
- Returns
- array
| getTimeFraction |
( |
|
$field | ) |
|
|
protected |
SWS needs special setter to always store a decimal
- Parameters
-
| setTimeFraction |
( |
|
$field, |
|
|
|
$value |
|
) |
| |
|
protected |
| toString |
( |
|
$format = 'short' | ) |
|
returns a string for a date like '3. 9:00s - 10:45' (short and long) or '3. 9:00s - 10:45, , ab der 7. Semesterwoche, (Vorlesung)' with the week of the semester
- Parameters
-
| format | string: "short"|"long"|"full" |
- Returns
- formatted string
The documentation for this class was generated from the following file: