芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/mod/lti/service/toolproxy/classes/local/service/toolproxy.php
. /** * This file contains a class definition for the Tool Proxy service * * @package ltiservice_toolproxy * @copyright 2014 Vital Source Technologies http://vitalsource.com * @author Stephen Vickers * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace ltiservice_toolproxy\local\service; defined('MOODLE_INTERNAL') || die(); /** * A service implementing the Tool Proxy. * * @package ltiservice_toolproxy * @since Moodle 2.8 * @copyright 2014 Vital Source Technologies http://vitalsource.com * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class toolproxy extends \mod_lti\local\ltiservice\service_base { /** * Class constructor. */ public function __construct() { parent::__construct(); $this->id = 'toolproxy'; $this->name = 'Tool Proxy'; } /** * Get the resources for this service. * * @return array */ public function get_resources() { if (empty($this->resources)) { $this->resources = array(); $this->resources[] = new \ltiservice_toolproxy\local\resources\toolproxy($this); } return $this->resources; } }