|
| cbValidate () |
|
| cbDeleteClipboardItems () |
|
| getRequiredPropertyNames () |
|
| __toString () |
|
| createRequest (User $user, $date_range_id=null, $comment='', $properties=[], $preparation_time=0) |
|
| addChild (Resource $resource) |
|
| getFullName () |
|
| getDefaultPictureUrl () |
|
| getIcon ($role=Icon::ROLE_INFO) |
|
| checkHierarchy () |
|
| bookingPlanVisibleForUser (?User $user, $time_range=[]) |
|
| getActionLink ($action='show', $link_parameters=[]) |
|
| getActionURL ($action='show', $url_parameters=[]) |
|
| findBuilding () |
|
| store () |
|
| delete () |
|
| cbValidate () |
|
| __toString () |
|
| getFolder ($create_if_missing=true) |
|
| setFolder (ResourceFolder $folder) |
|
| createFolder () |
|
| getRequiredPropertyNames () |
|
| createSimpleBooking (User $user, DateTime $begin, DateTime $end, $preparation_time=0, $description='', $internal_comment='', $booking_type=ResourceBooking::TYPE_NORMAL) |
|
| createBookingFromRequest (User $user, ResourceRequest $request, $preparation_time=0, $description='', $internal_comment='', $booking_type=ResourceBooking::TYPE_NORMAL, $prepend_preparation_time=false, $notify_lecturers=false) |
|
| createBooking (User $user, $range_id=null, $time_ranges=[], $repetition_interval=null, $repetition_amount=0, $repetition_end_date=null, $preparation_time=0, $description='', $internal_comment='', $booking_type=ResourceBooking::TYPE_NORMAL, $force_booking=false, string $weekdays='') |
|
| createSimpleRequest (User $user, DateTime $begin, DateTime $end, $comment='', $preparation_time=0) |
|
| createRequest (User $user, $date_range_ids=null, $comment='', $properties=[], $preparation_time=0) |
|
| createLock (User $user, DateTime $begin, DateTime $end, $internal_comment='') |
|
| getGroupedProperties ($excluded_properties=[]) |
|
| propertyExists ($name='') |
|
| getPropertyObject (string $name) |
|
| getInfolabelProperties () |
|
| getProperty (string $name) |
|
| getPropertyRelatedObject (string $name) |
|
| setProperty (string $name, $state='', $user=null) |
|
| setPropertiesByName (array $properties, User $user) |
|
| setPropertiesById (array $properties, User $user=null) |
|
| isPropertyEditable (string $name, User $user) |
|
| setPropertyByDefinitionId ($property_definition_id=null, $state=null) |
|
| setPropertyRelatedObject (string $name, SimpleORMap $object) |
|
| deleteProperty (string $name, User $user) |
|
| getPictureUrl () |
|
| getDefaultPictureUrl () |
|
| getIcon ($role=Icon::ROLE_INFO) |
|
| getPropertyArray ($only_requestable_properties=false) |
|
| isAssigned (DateTime $begin, DateTime $end, $excluded_booking_ids=[]) |
|
| isReserved (DateTime $begin, DateTime $end, $excluded_reservation_ids=[]) |
|
| isLocked (DateTime $begin, DateTime $end, $excluded_lock_ids=[]) |
|
| isAvailable (DateTime $begin, DateTime $end, $excluded_booking_ids=[]) |
|
| isAvailableForRequest (ResourceRequest $request) |
|
| getFullName () |
|
| setUserPermission (User $user, $perm='autor') |
|
| deleteUserPermission (User $user) |
|
| deleteAllPermissions () |
|
| getUserPermission (User $user, $time_range=[], $permanent_only=false) |
|
| userHasPermission (?User $user, string $permission='user', array $time_range=[]) |
|
| userMayCreateChild (User $user) |
|
| userHasRequestRights (User $user) |
|
| userHasBookingRights (User $user, $begin=null, $end=null) |
|
| bookingPlanVisibleForUser (?User $user, $time_range=[]) |
|
| findParentByClassName ($class_name='Resource') |
|
| findChildrenByClassName ( $class_name='Resource', $depth=0, $convert_objects=true, $order_by_name=true) |
|
| addChild (Resource $resource) |
|
| getOpenResourceRequests (DateTime $begin, DateTime $end) |
|
| getResourceBookings (DateTime $begin, DateTime $end, array $booking_types=[0]) |
|
| getResourceLocks (DateTime $begin, DateTime $end) |
|
| hasFiles () |
|
| getDerivedClassInstance () |
|
| checkHierarchy () |
|
| getActionLink ($action='show', $link_parameters=[]) |
|
| getActionURL ($action='show', $url_parameters=[]) |
|
| getItemName ($long_format=true) |
|
| getItemURL () |
|
| getItemAvatarURL () |
|
| getLink () |
|
| __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 () |
|
|
static | getTranslatedClassName ($item_count=1) |
|
static | countAll () |
|
static | findAll () |
|
static | findByNameOrBuilding ($room, $building) |
|
static | getRequiredProperties () |
|
static | findByBuilding (string $building_id) |
|
static | findByRoomRequestAndProperties (RoomRequest $request, User $user, $offset=0, $limit=0, $searchable_rooms=[], $properties=[]) |
|
static | findOtherRoomParts (Room $room) |
|
static | publicBookingPlansExists () |
|
static | findByPublicBookingPlans () |
|
static | getAllRoomTypes () |
|
static | getLinkForAction ($action='show', $id=null, $link_parameters=[]) |
|
static | getURLForAction ($action='show', $id=null, $url_parameters=[]) |
|
static | findChildren ($resource_id) |
|
static | getTranslatedClassName ($item_count=1) |
|
static | getRootResources () |
|
static | getRequiredProperties () |
|
static | getLinkForAction ( $action='show', $id=null, $link_parameters=[]) |
|
static | getURLForAction ( $action='show', $id=null, $url_parameters=[]) |
|
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) |
|