|
Stud.IP
6.1
|
Static Public Member Functions | |
| static | findCoursesUnits (\Course $course) |
| static | findUsersUnits (User $user) |
| static | exportUserData (\StoredUserData $storage) |
| static | getNewPosition ($range_id) |
| static | updatePositions ($range, $positions) |
Static Public Member Functions inherited from SimpleORMap | |
| 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 | setMariadbDefaultColumnFix (bool $state=true) |
Static Public Member Functions inherited from PrivacyObject | |
| static | exportUserData (StoredUserData $storage) |
Static Protected Member Functions | |
| static | configure ($config=[]) |
Static Protected Member Functions inherited from SimpleORMap | |
| static | db_table () |
| static | db_fields () |
| static | pk () |
| static | default_values () |
| static | serialized_fields () |
| static | alias_fields () |
| static | i18n_fields () |
| static | additional_fields () |
| static | has_many () |
| static | has_one () |
| static | belongs_to () |
| static | has_and_belongs_to_many () |
| static | registered_callbacks () |
| static | known_slots () |
| static | notification_map () |
| static | getter_setter_map () |
| static | configure ($config=[]) |
| static | config ($key) |
| static | registerCallback ($types, $cb) |
| static | unregisterCallback ($types, $cb) |
Additional Inherited Members | |
Data Fields inherited from SimpleORMap | |
| const | ID_SEPARATOR = '_' |
Static Public Attributes inherited from SimpleORMap | |
| static | $schemes = null |
Protected Member Functions inherited from SimpleORMap | |
| _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) | |
Protected Attributes inherited from SimpleORMap | |
| $content = [] | |
| $content_db = [] | |
| $is_new = true | |
| $is_deleted = false | |
| $relations = [] | |
| $additional_data = [] | |
| string | $i18n_class = I18NString::class |
Static Protected Attributes inherited from SimpleORMap | |
| static | $config = [] |
| static | $reserved_slots = ['value','newid','iterator','tablemetadata', 'relationvalue','wherequery','relationoptions','data','new','id'] |
| static | $performs_batch_operation = false |
| static | $mariadb_column_default_fix = false |
| canEdit | ( | User | $user | ) |
| canEditContent | ( | User | $user | ) |
| canRead | ( | User | $user | ) |
| cbBeforeDelete | ( | ) |
|
staticprotected |
| copy | ( | User | $user, |
| string | $rangeId, | ||
| string | $rangeType, | ||
| array | $modified = null, |
||
| bool | $duplicate = false |
||
| ) |
|
static |
Export available data of a given user into a storage object (an instance of the StoredUserData class) for that user.
| StoredUserData | $storage | object to store data into |
|
static |
| findOrCreateFirstElement | ( | ) |
|
static |
| getFeedbackElement | ( | ) |
|
static |
| getRange | ( | ) |
| getRangeCourseId | ( | ) |
Returns the course id of FeedbackRange object instance
Implements FeedbackRange.
| getRangeIcon | ( | $role | ) |
Returns the icon object that shall be used with the FeedbackRange object instance.
| string | $role | role of icon |
Implements FeedbackRange.
| getRangeName | ( | ) |
Returns a human-friendly representation of the FeedbackRange object instance's name.
Implements FeedbackRange.
| getRangeUrl | ( | ) |
Returns the URL of FeedbackRange view, where the object instance is visible together with the related feedback element(s).
Implements FeedbackRange.
| hasRootLayout | ( | ) |
| isRangeAccessible | ( | string | $user_id = null | ) |
Returns the accessebility of FeedbackRange object instance for current active user
| string | $user_id | optional; use this ID instead of $GLOBALS['user']->id |
Implements FeedbackRange.
|
static |
| updatePositionsAfterDelete | ( | ) |