|
| 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 | find ($id) |
| |
| static | exists ($id) |
| |
| static | countBySql ($sql=1, $params=array()) |
| |
| static | create ($data) |
| |
| static | build ($data, $is_new=true) |
| |
| static | buildExisting ($data) |
| |
| static | import ($data) |
| |
| static | findBySQL ($sql, $params=array()) |
| |
| static | findOneBySQL ($where, $params=array()) |
| |
| static | findThru ($foreign_key_value, $options) |
| |
| static | findEachBySQL ($callable, $sql, $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) |
| |
| static | exportUserData (StoredUserData $storage) |
| |
◆ __construct()
| __construct |
( |
|
$id = null | ) |
|
constructor, give primary key of record as param to fetch corresponding record from db if available, if not preset primary key with given value. Give null to create new record
- Parameters
-
| mixed | $id | primary key of table |
Reimplemented from SimpleORMap.
Reimplemented in CourseEvent.
◆ addTopic()
Adds a topic to 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
◆ cancelDate()
◆ cbStudipLog()
- Parameters
-
| $type | string type of callback |
◆ configure()
| static configure |
( |
|
$config = [] | ) |
|
|
staticprotected |
◆ delete()
◆ exportUserData()
◆ findByIssue_id()
| 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
◆ findByRange_id()
| 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
◆ findBySeminar_id()
| 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
◆ findByStatusgruppe_id()
| 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()
| 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.
◆ getConsecutiveNumber()
| 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
◆ getDeletionWarnings()
Returns a list of all possible warnings that should be considered when this date is deleted.
- Returns
- array of warnings
◆ getFullname()
| getFullname |
( |
|
$format = 'default' | ) |
|
Returns the full qualified name of this date.
- Parameters
-
| String | $format | Optional format type (only 'default' and 'verbose' are supported by now) |
- Returns
- String containing the full name of this date.
◆ getRoom()
Returns the assigned room for this date as an object.
- Returns
- Room Either the object or null if no room is assigned
◆ getRoomName()
Returns the name of the assigned room for this date.
- Returns
- String containing the room name
◆ getTypeName()
Returns the name of the type of this date.
- Parameters
-
| String | containing the type name |
◆ removeTopic()
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
◆ store()
◆ toString()
Returns the full qualified name of this date raumzeit_send_cancel_message needs the toString()-Method in this class
- Deprecated:
- since version 3.4
- Returns
- String containing the full name of this date
◆ FORMAT_DEFAULT
| const FORMAT_DEFAULT = 'default' |
◆ FORMAT_VERBOSE
| const FORMAT_VERBOSE = 'verbose' |
The documentation for this class was generated from the following file: