Constructor & Destructor Documentation
__construct |
( |
|
$id = null | ) |
|
- Parameters
-
string | $id | primary key of table |
Reimplemented from SimpleORMap.
Member Function Documentation
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 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: