Skip to content

Timeslots

MQP-Database-Access Timeslot module

check_user_now_in_time_slot_for_resource

check_user_now_in_time_slot_for_resource(
    userid, resource_name, time_instance
)

Check if the user is one of the users or user is part of a user_group that is in a time slot for the resource.

get_resource_list_in_time_slot

get_resource_list_in_time_slot(time_instance)

Get the list of resources in a time slot.

get_user_list_in_time_slot_for_resource

get_user_list_in_time_slot_for_resource(
    resource_name, time_instance
)

Get the list of users and user_groups in a time slot for the resource.