Source Location: /mooan_moodle_interface.php
Library of functions for interfacing with Moodle.
string mooan_get_current_document_id(
)
[line 107]
Returns the request portion of the URI that was used to retrieve this document.
[ Top ]
The mooan_get_current_user_id(
)
[line 140]
Determines the userid of the current user and returns in in "serialised" form: numericalid:fullname
[ Top ]
void mooan_output_buffering_end(
)
[line 86]
Ends output buffering if the same checks as were run in mooan_output_buffering_start() before starting it pass.
Passes the captured document to mooan_modify_page() for handling.
[ Top ]
void mooan_output_buffering_start(
)
[line 64]
Starts output buffering if the current document is annotable or if it's not annotable but the current user has the rights to turn it on.
[ Top ]
mixed mooan_parse_user_id(
$userid)
[line 158]
Parses the numerical id and the user's fullname out of an userid generated by mooan_get_current_user_id().
[ Top ]