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: 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