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.

(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

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

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

return: bool