[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Site privacy: private
File Size: | 311 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
registration_manager:: (10 methods):
cron()
get_site_secret_for_hub()
add_registeredhub()
delete_registeredhub()
get_registeredhub()
get_unconfirmedhub()
update_registeredhub()
get_registered_on_hubs()
get_site_info()
get_site_privacy_string()
Class: registration_manager - X-Ref
Site registration librarycron() X-Ref |
Automatically update the registration on all hubs |
get_site_secret_for_hub($huburl) X-Ref |
Return the site secret for a given hub site identifier is assigned to Mooch each hub has a unique and personal site secret. param: string $huburl return: string site secret |
add_registeredhub($hub) X-Ref |
When the site register on a hub, he must call this function param: object $hub where the site is registered on return: integer id of the record |
delete_registeredhub($huburl) X-Ref |
When a site unregister from a hub, he must call this function param: string $huburl the huburl to delete |
get_registeredhub($huburl = null, $token = null) X-Ref |
Get a hub on which the site is registered for a given url or token Mostly use to check if the site is registered on a specific hub param: string $huburl param: string $token return: object the hub |
get_unconfirmedhub($huburl) X-Ref |
Get the hub which has not confirmed that the site is registered on, but for which a request has been sent param: string $huburl return: object the hub |
update_registeredhub($hub) X-Ref |
Update a registered hub (mostly use to update the confirmation status) param: object $hub the hub |
get_registered_on_hubs() X-Ref |
Return all hubs where the site is registered |
get_site_info($huburl) X-Ref |
Return site information for a specific hub param: string $huburl return: array site info |
get_site_privacy_string($privacy) X-Ref |
Retrieve the site privacy string matching the define value param: string $privacy must match the define into moodlelib.php return: string |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |