Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/webservice/service_functions.php File Reference

Go to the source code of this file.

Namespaces

namespace  webservice

Variables

 $serviceid = required_param('id', PARAM_INT)
 $functionid = optional_param('fid', 0, PARAM_INT)
 $action = optional_param('action', '', PARAM_ACTION)
 $confirm = optional_param('confirm', 0, PARAM_BOOL)
 $node = $PAGE->settingsnav->find('externalservices', navigation_node::TYPE_SETTING)
 $service = $DB->get_record('external_services', array('id' => $serviceid), '*', MUST_EXIST)
 $webservicemanager = new webservice()
 $renderer = $PAGE->get_renderer('core', 'webservice')
 $functionlisturl
 switch ($action)
 OUTPUT function list page.
 $functions = $webservicemanager->get_external_functions(array($service->id))

Variable Documentation

Definition at line 33 of file service_functions.php.

Definition at line 34 of file service_functions.php.

$functionid = optional_param('fid', 0, PARAM_INT)

Definition at line 32 of file service_functions.php.

$functionlisturl
Initial value:
 new moodle_url('/' . $CFG->admin . '/webservice/service_functions.php',
        array('id' => $serviceid))

Definition at line 50 of file service_functions.php.

$functions = $webservicemanager->get_external_functions(array($service->id))

Definition at line 120 of file service_functions.php.

$node = $PAGE->settingsnav->find('externalservices', navigation_node::TYPE_SETTING)

Definition at line 40 of file service_functions.php.

$renderer = $PAGE->get_renderer('core', 'webservice')

Definition at line 49 of file service_functions.php.

$service = $DB->get_record('external_services', array('id' => $serviceid), '*', MUST_EXIST)

Definition at line 47 of file service_functions.php.

Definition at line 31 of file service_functions.php.

$webservicemanager = new webservice()

Definition at line 48 of file service_functions.php.

OUTPUT function list page.

Definition at line 54 of file service_functions.php.

 All Data Structures Namespaces Files Functions Variables Enumerations