protected function get_serviceurl_pluginfo() {
        global $CFG;

        if (!empty($CFG->config_php_settings['alternativepluginfoserviceurl'])) {
            return $CFG->config_php_settings['alternativepluginfoserviceurl'];
        } else {
            return self::APIROOT.'/'.self::APIVER.'/pluginfo.php';
        }
    }
protected function get_serviceurl_pluginfo() {
        global $CFG;

        if (!empty($CFG->config_php_settings['alternativepluginfoserviceurl'])) {
            return $CFG->config_php_settings['alternativepluginfoserviceurl'];
        } else {
            return self::APIROOT.'/'.self::APIVER.'/pluginfo.php';
        }
    }
protected function get_serviceurl_pluginfo ( ) { global $ CFG ; if ( ! empty ( $ CFG -> config_php_settings [ 'alternativepluginfoserviceurl' ] ) ) { return $ CFG -> config_php_settings [ 'alternativepluginfoserviceurl' ] ; } else { return self :: APIROOT . '/' . self :: APIVER . '/pluginfo.php' ; } }
Returns URL of the pluginfo.php API end-point.

@return string
Returns URL of the pluginfo . php API end - point .