MDL-27565 implement moodle_notes_create_note

This commit is contained in:
Jerome Mouneyrac
2011-06-07 17:28:51 +08:00
parent a56c68e3f4
commit 8d46dabb6e
5 changed files with 233 additions and 2 deletions
+11
View File
@@ -206,4 +206,15 @@ $functions = array(
'capabilities'=> 'moodle/course:create,moodle/course:visibility',
),
// === notes related functions ===
'moodle_notes_create_notes' => array(
'classname' => 'moodle_notes_external',
'methodname' => 'create_notes',
'classpath' => 'notes/externallib.php',
'description' => 'Create notes',
'type' => 'write',
'capabilities'=> 'moodle/notes:manage',
),
);