Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Calendar action event class.

Copyright: 2017 Cameron Ball <cameron@cameron1729.xyz>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 136 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

action_event:: (17 methods):
  __construct()
  get_id()
  get_name()
  get_description()
  get_location()
  get_category()
  get_course()
  get_course_module()
  get_group()
  get_user()
  get_type()
  get_times()
  get_repeats()
  get_subscription()
  is_visible()
  get_action()
  get_component()


Class: action_event  - X-Ref

Class representing an actionable event.

An actionable event can be thought of as an embellished event. That is,
it does everything a regular event does, but has some extra information
attached to it. For example, the URL a user needs to visit to complete
an action, the number of actionable items, etc.

__construct(event_interface $event, action_interface $action)   X-Ref
Constructor.

param: event_interface  $event  The event to delegate to.
param: action_interface $action The action associated with this event.

get_id()   X-Ref
No description

get_name()   X-Ref
No description

get_description()   X-Ref
No description

get_location()   X-Ref
No description

get_category()   X-Ref
No description

get_course()   X-Ref
No description

get_course_module()   X-Ref
No description

get_group()   X-Ref
No description

get_user()   X-Ref
No description

get_type()   X-Ref
No description

get_times()   X-Ref
No description

get_repeats()   X-Ref
No description

get_subscription()   X-Ref
No description

is_visible()   X-Ref
No description

get_action()   X-Ref
No description

get_component()   X-Ref
Event component

return: string