Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

File Size: 177 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

communication_feature:: (10 methods):
  load_for_instance()
  __construct()
  create_chat_room()
  update_chat_room()
  delete_chat_room()
  get_chat_room_url()
  save_form_data()
  set_form_data()
  set_form_definition()
  is_configured()


Class: communication_feature  - X-Ref

class communication_feature to handle custom link specific actions.

load_for_instance(processor $communication)   X-Ref
Load the communication provider for the communication API.

param: processor $communication The communication processor object.
return: communication_feature The communication provider object.

__construct(private \core_communication\processor $communication,)   X-Ref
Constructor for communication provider.

param: processor $communication The communication processor object.

create_chat_room()   X-Ref
Create room - room existence managed externally, always return true.

return: boolean

update_chat_room()   X-Ref
Update room - room existence managed externally, always return true.

return: boolean

delete_chat_room()   X-Ref
Delete room - room existence managed externally, always return true.

return: boolean

get_chat_room_url()   X-Ref
Fetch the URL for this custom link provider.

return: string|null The custom URL, or null if not found.

save_form_data(\stdClass $instance)   X-Ref
No description

set_form_data(\stdClass $instance)   X-Ref
No description

set_form_definition(\MoodleQuickForm $mform)   X-Ref
No description

is_configured()   X-Ref
No description