Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

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

Defines 1 class

recording_editable:: (5 methods):
  __construct()
  check_capability()
  get_type()
  update()
  row_editable()


Class: recording_editable  - X-Ref

Renderer for recording in place editable.

Generic class

__construct(recording $rec, instance $instance, string $edithint, string $editlabel)   X-Ref
Constructor.

param: recording $rec
param: instance $instance
param: string $edithint
param: string $editlabel

check_capability()   X-Ref
Check user can access and or modify this item.

return: bool

get_type()   X-Ref
Get the type of editable


update($itemid, $value)   X-Ref
Update the recording with the new value

return: recording_editable
param: int $itemid
param: mixed $value

row_editable()   X-Ref
Helper function evaluates if a row for the data used by the recording table is editable.

return: bool