Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
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. | |
note_delete ($note) | |
Deletes a note object based on its id. | |
note_delete_all ($courseid) | |
Delete all notes about users in course-. | |
note_get_state_name ($state) | |
Converts a state value to its corespondent name. | |
note_get_state_names () | |
Returns an array of mappings from state values to state names. | |
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. | |
note_load ($noteid) | |
Retrieves a note object based on its id. | |
note_page_type_list ($pagetype, $parentcontext, $currentcontext) | |
Return a list of page types. | |
note_print ($note, $detail=NOTES_SHOW_FULL) | |
Prints a note object. | |
note_print_list ($notes, $detail=NOTES_SHOW_FULL) | |
Prints a list of note objects. | |
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. | |
note_save (&$note) | |
Saves a note object. | |
note_view ($context, $userid) | |
Trigger notes viewed event. | |
Library of functions and constants for notes.