. /** * Web service for mod assign * @package mod_assign * @subpackage db * @since Moodle 2.4 * @copyright 2012 Paul Charsley * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $functions = array( 'mod_assign_get_grades' => array( 'classname' => 'mod_assign_external', 'methodname' => 'get_grades', 'classpath' => 'mod/assign/externallib.php', 'description' => 'Returns grades from the assignment', 'type' => 'read' ), 'mod_assign_get_assignments' => array( 'classname' => 'mod_assign_external', 'methodname' => 'get_assignments', 'classpath' => 'mod/assign/externallib.php', 'description' => 'Returns the courses and assignments for the users capability', 'type' => 'read' ) );