(no description)
File Size: | 146 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
matrix_room:: (8 methods):
load_by_processor_id()
__construct()
create_room_record()
update_room_record()
delete_room_record()
get_processor_id()
get_room_id()
get_topic()
Class: matrix_room - X-Ref
Class to manage the updates to the room information in db.load_by_processor_id(int $processorid,) X-Ref |
Load the matrix room record for the supplied processor. param: int $processorid return: null|self |
__construct(private stdClass $record,) X-Ref |
Matrix rooms constructor to load the matrix room information from matrix_room table. param: stdClass $record |
create_room_record(int $processorid,?string $topic,?string $roomid = null,) X-Ref |
Create matrix room data. param: int $processorid The id of the communication record param: string|null $topic The topic of the room for matrix param: string|null $roomid The id of the room from matrix return: self |
update_room_record(?string $roomid = null,?string $topic = null,) X-Ref |
Update matrix room data. param: string|null $roomid The id of the room from matrix param: string|null $topic The topic of the room for matrix |
delete_room_record() X-Ref |
Delete matrix room data. |
get_processor_id() X-Ref |
Get the processor id. return: int |
get_room_id() X-Ref |
Get the matrix room id. return: string|null |
get_topic() X-Ref |
Get the matrix room topic. return: string |