|
static | getConsecutiveNumber ($date, $semester=null) |
|
static | findByIssue_id ($issue_id) |
|
static | findBySeminar_id ($seminar_id) |
|
static | findByRange_id ($seminar_id, $order_by= 'ORDER BY date') |
|
static | findByStatusgruppe_id ($group_id) |
|
static | exportUserData (StoredUserData $storage) |
|
static | tableScheme ($db_table) |
|
static | expireTableScheme () |
|
static | exists ($id) |
|
static | countBySql ($sql= '1', $params=[]) |
|
static | create ($data) |
|
static | buildExisting ($data) |
|
static | import ($data) |
|
static | findBySQL ($sql, $params=[]) |
|
static | findOneBySQL ($where, $params=[]) |
|
static | findThru ($foreign_key_value, $options) |
|
static | findEachBySQL ($callable, $sql, $params=[]) |
|
static | findMany ($pks=[], $order= '', $order_params=[]) |
|
static | findEachMany ($callable, $pks=[], $order= '', $order_params=[]) |
|
static | findAndMapBySQL ($callable, $where, $params=[]) |
|
static | findAndMapMany ($callable, $pks=[], $order= '', $order_params=[]) |
|
static | deleteBySQL ($where, $params=[]) |
|
static | toObject ($id_or_object) |
|
static | __callStatic ($name, $arguments) |
|
- Returns
- string A string representation of the course date.
Adds a topic to this date.
- Parameters
-
mixed | $topic | Topic definition (might be an id, an array or an object) |
- Returns
- int|false number addition of all return values, false if none was called
- Parameters
-
$type | string type of callback |
static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
Configures this model.
- Parameters
-
Array | $config | Configuration array |
static findByIssue_id |
( |
|
$issue_id | ) |
|
|
static |
Returns course dates by issue id.
- Parameters
-
String | $issue_id | Id of the issue |
- Returns
- array with the associated dates
static findByRange_id |
( |
|
$seminar_id, |
|
|
|
$order_by = 'ORDER BY date' |
|
) |
| |
|
static |
Return course dates by range id (which is in many cases the course id)
- Parameters
-
String | $seminar_id | Id of the course |
String | $order_by | Optional order definition |
- Returns
- array with the associated dates
static findBySeminar_id |
( |
|
$seminar_id | ) |
|
|
static |
Returns course dates by course id
- Parameters
-
String | $seminar_id | Id of the course |
- Returns
- array with the associated dates
static findByStatusgruppe_id |
( |
|
$group_id | ) |
|
|
static |
Returns course dates by issue id.
- Parameters
-
String | $issue_id | Id of the issue |
- Returns
- array with the associated dates
getAccessibleFolderFiles |
( |
|
$user_or_id | ) |
|
return all filerefs belonging to this date, permissions fpr given user are checked
- Parameters
-
- Returns
- mixed[] A mixed array with FolderType and FileRef objects.
static getConsecutiveNumber |
( |
|
$date, |
|
|
|
$semester = null |
|
) |
| |
|
static |
return consecutive number for a date in its course, if semester is given only within that time range
- Parameters
-
- Returns
- int|null
Returns a list of all possible warnings that should be considered when this date is deleted.
- Returns
- array of warnings
getFullname |
( |
|
$format = 'default' | ) |
|
Returns the full qualified name of this date.
- Parameters
-
String | $format | Optional format type (only 'default', 'include-room' and 'verbose' are supported by now) |
- Returns
- String containing the full name of this date.
Returns the assigned room for this date as an object.
- Returns
- Room Either the object or null if no room is assigned
Returns the name of the assigned room for this date.
- Returns
- String containing the room name
Returns the name of the type of this date.
- Parameters
-
String | containing the type name |
Removes a topic from this date.
- Parameters
-
mixed | $topic | Topic definition (might be an id, an array or an object) |
- Returns
- number addition of all return values, false if none was called
const FORMAT_DEFAULT = 'default' |
const FORMAT_VERBOSE = 'verbose' |
The documentation for this class was generated from the following file: