Joomdle 2.x Installation

How to use Moodle webservice functions by Joomdle

  • saeid
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 4 weeks ago - 3 years 4 weeks ago #1 by saeid
Hi,

Is it possible to use Moodle standard webservice functions or other external service functions by Joomdle? I added mod_attendance_get_session function to Joomdle functions list but when I call it by JoomdleHelperContent::call_method it gives an error.

Please help me how to use those functions by Joomdle.
Last edit: 3 years 4 weeks ago by saeid.

Please Log in or Create an account to join the conversation.

More
3 years 3 weeks ago #2 by Antonio Durán
Replied by Antonio Durán on topic How to use Moodle webservice functions by Joomdle
No, you cannot call Moodle standard webservice functions with Joomdle's Joomla functions.

You would need to call them separately, as they are not named "joomdle_*".
So, you would need to create a new function based on the call_method_rest_fgc_named_params in the other post, that does not add "joomdle_". I think that should allow you to call Moodle core ws functions, although I have never tried.

Please Log in or Create an account to join the conversation.