Constructor & Destructor Documentation
| __construct |
( |
|
$id = null | ) |
|
- Parameters
-
| string | $id | primary key of table |
Reimplemented from SimpleORMap.
Member Function Documentation
| static countAbsolutSeminars |
( |
|
$id | ) |
|
|
static |
Returns the number of absolute seminars in a semester
- Parameters
-
| md5 | $id | of the semester return int count of seminars |
| static countContinuousSeminars |
( |
|
$id | ) |
|
|
static |
Return the number of continuous seminars in a semester
- Parameters
-
- Returns
- int count of seminars
| static countDurationSeminars |
( |
|
$id | ) |
|
|
static |
This method was adopted from the old version.
- Parameters
-
- Returns
- int count of seminars
| static deleteBySQL |
( |
|
$where | ) |
|
|
static |
delete Semester in db
- Parameters
-
- Returns
- number
returns semester object for given id or null
- Parameters
-
- Returns
- NULL|Semester
| static findBySql |
( |
|
$where | ) |
|
|
static |
returns array of Semester objects
- Parameters
-
- Returns
- array
| static findByTimestamp |
( |
|
$timestamp | ) |
|
|
static |
returns Semester for given timestamp
- Parameters
-
- Returns
- null|Semester
| static findNext |
( |
|
$timestamp = null | ) |
|
|
static |
returns following Semester for given timestamp
- Parameters
-
- Returns
- null|Semester
| static getAbsolutAndDurationSeminars |
( |
|
$id | ) |
|
|
static |
This method was adopted from the old version.
- Parameters
-
| md5 | $id | of the semester return int count of seminars |
| static getAll |
( |
|
$force_reload = false | ) |
|
|
static |
returns array of all existing semester objects orderd by begin
- Parameters
-
- Returns
- array
| getSemWeekNumber |
( |
|
$timestamp | ) |
|
returns "Semesterwoche" for a given timestamp
- Parameters
-
- Returns
- number|boolean
| setData |
( |
|
$data, |
|
|
|
$reset = false |
|
) |
| |
set multiple column values if second param is set, existing data in object will be discarded, else new data overrides old data
- Parameters
-
| array | $data | assoc array |
| boolean | $reset | |
- Returns
- number of columns changed
Reimplemented from SimpleORMap.
returns data of table row as assoc array
- Returns
- array
Reimplemented from SimpleORMap.
The documentation for this class was generated from the following file: