\jomres_roomlocks

Summary

Methods
Properties
Constants
__construct()
clean_up_old_locks()
lock_room()
unlock_room()
is_room_locked()
unlock_all_rooms_for_session()
init_lockfile()
save_lockfile_data()
extract_room_uid()
get_all_rooms_already_in_cart()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

clean_up_old_locks()

clean_up_old_locks() 

lock_room()

lock_room(  $room_uid,   $date_range_string) 

Parameters

$room_uid
$date_range_string

unlock_room()

unlock_room(  $room_uid,   $date_range_string) 

Parameters

$room_uid
$date_range_string

is_room_locked()

is_room_locked(  $room_uid,   $date_range_string) 

Parameters

$room_uid
$date_range_string

unlock_all_rooms_for_session()

unlock_all_rooms_for_session() 

init_lockfile()

init_lockfile() 

save_lockfile_data()

save_lockfile_data(  $dates_array) 

Parameters

$dates_array

extract_room_uid()

extract_room_uid(  $room_uid) 

Parameters

$room_uid

get_all_rooms_already_in_cart()

get_all_rooms_already_in_cart()