wsAvailable function

Re: wsAvailable function

by Salim BOUDRAA -
Number of replies: 0

thank you very much, now I find my web service in site.infos.functions

now i would like to understand from where is the variable method of the following function:

angular.forEach(enrollmentMethods, function (method) {

if (selfEnrolWSAvailable && method.type === 'self') {

$Scope.selfEnrolInstances.push (method);

 } else if (guestWSAvailable && method.type === 'guest') {

isGuestEnabled = true;

});

which is in the file /www/core/components/courses/controllers/viewresults.js gets its values ​​as method.type ?

thank you