Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
annotable Interface Reference

Interface to apply to all the classes we want to be annotable in the backup/restore process. More...

Inheritance diagram for annotable:
backup_attribute backup_final_element anonymizer_final_element base64_encode_final_element encrypted_final_element mnethosturl_final_element

Public Member Functions

 annotate ($backupid)
 This function implements the annotation of the current value associating it with $itemname. More...
 
 set_annotation_item ($itemname)
 This function sets the $itemname to be used when annotating. More...
 

Detailed Description

Interface to apply to all the classes we want to be annotable in the backup/restore process.

TODO: Finish phpdocs

Member Function Documentation

◆ annotate()

annotable::annotate (   $backupid)

This function implements the annotation of the current value associating it with $itemname.

Implemented in backup_attribute, and backup_final_element.

◆ set_annotation_item()

annotable::set_annotation_item (   $itemname)

This function sets the $itemname to be used when annotating.

Implemented in backup_attribute, and backup_final_element.


The documentation for this interface was generated from the following file: