Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Library of functions and constants for notes. More...
Functions | |
core_notes_myprofile_navigation (core_user\output\myprofile\tree $tree, $user, $iscurrentuser, $course) | |
Add nodes to myprofile page. More... | |
note_delete ($note) | |
Deletes a note object based on its id. More... | |
note_delete_all ($courseid) | |
Delete all notes about users in course-. More... | |
note_get_state_name ($state) | |
Converts a state value to its corespondent name. More... | |
note_get_state_names () | |
Returns an array of mappings from state values to state names. More... | |
note_list ($courseid=0, $userid=0, $state='', $author=0, $order='lastmodified DESC', $limitfrom=0, $limitnum=0) | |
Retrieves a list of note objects with specific atributes. More... | |
note_load ($noteid) | |
Retrieves a note object based on its id. More... | |
note_page_type_list ($pagetype, $parentcontext, $currentcontext) | |
Return a list of page types. More... | |
note_print ($note, $detail=NOTES_SHOW_FULL) | |
Prints a note object. More... | |
note_print_list ($notes, $detail=NOTES_SHOW_FULL) | |
Prints a list of note objects. More... | |
note_print_notes ($header, $addcourseid=0, $viewnotes=true, $courseid=0, $userid=0, $state='', $author=0) | |
Retrieves and prints a list of note objects with specific atributes. More... | |
note_save (&$note) | |
Saves a note object. More... | |
note_view ($context, $userid) | |
Trigger notes viewed event. More... | |
Library of functions and constants for notes.