|
| checkOpen ($also_change=false) |
|
| cbLogNewRequest () |
|
| cbAfterStore () |
|
| cbAfterDelete () |
|
| validate () |
|
| getDerivedClassInstance () |
|
| setRangeFields ($range_type='', $range_ids=[]) |
|
| closeRequest ($notify_lecturers=false, $bookings=[]) |
|
| getOverlappingRequests () |
|
| countOverlappingRequests () |
|
| getOverlappingBookings () |
|
| countOverlappingBookings () |
|
| getRepetitionInterval () |
|
| getStartDate () |
|
| getEndDate () |
|
| getStartSemester () |
|
| getEndSemester () |
|
| getRepetitionEndDate () |
|
| getGroupedTimeIntervals ($with_preparation_time=false, $with_past_intervals=true) |
|
| getTimeIntervals ($with_preparation_time=false, $with_range=false, $with_past_intervals=true) |
|
| getTimeIntervalStrings () |
|
| getTimeIntervalsInTimeRange (DateTime $begin, DateTime $end) |
|
| getType () |
|
| getStatus () |
|
| getStatusText () |
|
| getDateString ($as_array=false, $with_past_intervals=true) |
|
| getTypeString ($short=false) |
|
| getAffectedDates () |
|
| getAvailableProperties ($excluded_property_names=[]) |
|
| getPropertyData ($excluded_property_names=[]) |
|
| propertyExists ($name) |
|
| getProperty ($name) |
|
| getPropertyObject ($name) |
|
| setProperty ($name, $state='') |
|
| updateProperties ($property_list=[], $accept_null_values=false) |
|
| deletePropertyIfExists ($name='') |
|
| getRangeName () |
|
| isSimpleRequest () |
|
| getRangeId () |
|
| getRangeType () |
|
| getRangeObject () |
|
| sendNewRequestMail () |
|
| sendCloseRequestMailToRequester ($bookings=[]) |
|
| sendCloseRequestMailToLecturers ($bookings=[]) |
|
| sendRequestDeniedMail () |
|
| isReadOnlyForUser (User $user) |
|
| getAllEventData () |
|
| getEventDataForTimeRange (DateTime $begin, DateTime $end) |
|
| getFilteredEventData ( $user_id=null, $range_id=null, $range_type=null, $begin=null, $end=null) |
|
| getPriority () |
|
| getLoggingInfoText () |
|
| __construct ($id=null) |
|
| __clone () |
|
| getRelationOptions ($relation) |
|
| getTableMetadata () |
|
| hasAutoIncrementColumn () |
|
| setId ($id) |
|
| getId () |
|
| getNewId () |
|
| toArray ($only_these_fields=null) |
|
| toRawArray ($only_these_fields=null) |
|
| toArrayRecursive ($only_these_fields=null) |
|
| getValue ($field) |
|
| getRelationValue ($relation, $field) |
|
| getDefaultValue ($field) |
|
| setValue ($field, $value) |
|
| __get ($field) |
|
| __set ($field, $value) |
|
| __isset ($field) |
|
| offsetExists ($offset) |
|
| offsetGet ($offset) |
|
| offsetSet ($offset, $value) |
|
| offsetUnset ($offset) |
|
| getIterator () |
|
| count () |
|
| isField ($field) |
|
| isRelation ($field) |
|
| isAdditionalField ($field) |
|
| isAliasField ($field) |
|
| isI18nField ($field) |
|
| setData ($data, $reset=false) |
|
| isNew () |
|
| isDeleted () |
|
| setNew ($is_new) |
|
| getWhereQuery () |
|
| restore () |
|
| store () |
|
| triggerChdate () |
|
| delete () |
|
| isDirty () |
|
| isFieldDirty ($field) |
|
| revertValue ($field) |
|
| getPristineValue ($field) |
|
| initRelation ($relation) |
|
| resetRelation ($relation) |
|
| cleanup () |
|
| getEventDataForTimeRange (\DateTime $begin, \DateTime $end) |
|
|
static | exportUserdata (StoredUserData $storage) |
|
static | findAll () |
|
static | findOpen () |
|
static | findByResourceAndTimeRanges (Resource $resource, $time_ranges=[], $closed_status=null, $excluded_request_ids=[], $additional_conditions='', $additional_parameters=[]) |
|
static | countByResourceAndTimeRanges (Resource $resource, $time_ranges=[], $closed_status=null, $excluded_request_ids=[], $additional_conditions='', $additional_parameters=[]) |
|
static | findByCourse ($course_id) |
|
static | findByDate ($date_id) |
|
static | findByMetadate ($metadate_id) |
|
static | existsByCourse ($course_id, $request_is_open=false) |
|
static | existsByDate ($date_id, $request_is_open=false) |
|
static | existsByMetadate ($metadate_id, $request_is_open=false) |
|
static | tableScheme ($db_table) |
|
static | expireTableScheme () |
|
static | exists ($id) |
|
static | countBySql ($sql='1', $params=[]) |
|
static | create ($data) |
|
static | build ($data, $is_new=true) |
|
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 (string $name, array $arguments) |
|
static | exportUserData (StoredUserData $storage) |
|
const | MARK_NONE = 0 |
|
const | MARK_RED = 1 |
|
const | MARK_YELLOW = 2 |
|
const | MARK_GREEN = 3 |
|
const | REPLY_REQUESTER = 'requester' |
|
const | REPLY_LECTURER = 'lecturer' |
|
const | STATE_OPEN = 0 |
|
const | STATE_PENDING = 1 |
|
const | STATE_CLOSED = 2 |
|
const | STATE_DECLINED = 3 |
|
const | MARKING_STATES = 4 |
|
const | ID_SEPARATOR = '_' |
|
static | $schemes = null |
|
| convertToEventData (array $time_intervals, User $user) |
|
| _getId ($field) |
|
| _setId ($field, $value) |
|
| _getAdditionalValueFromRelation ($field) |
|
| _setAdditionalValueFromRelation ($field, $value) |
|
| _getAdditionalValue ($field) |
|
| _setAdditionalValue ($field, $value) |
|
| parseRelationOptions ($type, $name, $options) |
|
| storeRelations ($only_these=null) |
|
| deleteRelations () |
|
| initializeContent () |
|
| applyCallbacks ($type) |
|
| cbNotificationMapper ($cb_type) |
|
| cbAfterInitialize ($cb_type) |
|
| setSerializedValue ($field, $value) |
|
| setI18nValue ($field, $value) |
|
| $content = [] |
|
| $content_db = [] |
|
| $is_new = true |
|
| $is_deleted = false |
|
| $relations = [] |
|
| $additional_data = [] |
|
static | $config = [] |
|
static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] |
|
static | $performs_batch_operation = false |
|