. /** * Moodle Mobile tools webservice definitions. * * * @package tool_mobile * @copyright 2016 Juan Leyva * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $functions = array( 'tool_mobile_get_plugins_supporting_mobile' => array( 'classname' => 'tool_mobile\external', 'methodname' => 'get_plugins_supporting_mobile', 'description' => 'Returns a list of Moodle plugins supporting the mobile app.', 'type' => 'read', 'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE) ), 'tool_mobile_get_site_public_settings' => array( 'classname' => 'tool_mobile\external', 'methodname' => 'get_site_public_settings', 'description' => 'Returns a list of the site public settings, those not requiring authentication.', 'type' => 'read', 'services' => array(MOODLE_OFFICIAL_MOBILE_SERVICE), 'ajax' => true, 'loginrequired' => false, ) );