Detailed Description
Definition at line 48 of file lib.php.
Member Function Documentation
When the site register on a hub, he must call this function
- Parameters:
-
| object | $hub | where the site is registered on |
- Returns:
- integer id of the record
Definition at line 119 of file lib.php.
Automatically update the registration on all hubs
Definition at line 53 of file lib.php.
When a site unregister from a hub, he must call this function
- Parameters:
-
| string | $huburl | the huburl to delete |
Definition at line 129 of file lib.php.
Return all hubs where the site is registered on
Definition at line 184 of file lib.php.
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
- Parameters:
-
| string | $huburl | |
| string | $token | |
- Returns:
- object the hub
Definition at line 141 of file lib.php.
Return site information for a specific hub
- Parameters:
-
- Returns:
- array site info
Definition at line 195 of file lib.php.
Retrieve the site privacy string matching the define value
- Parameters:
-
- Returns:
- string
Definition at line 277 of file lib.php.
Return the site secret for a given hub site identifier is assigned to Mooch each hub has a unique and personal site secret.
- Parameters:
-
- Returns:
- string site secret
Definition at line 94 of file lib.php.
Get the hub which has not confirmed that the site is registered on, but for which a request has been sent
- Parameters:
-
- Returns:
- object the hub
Definition at line 162 of file lib.php.
Update a registered hub (mostly use to update the confirmation status)
- Parameters:
-
| object | $communication | the hub |
Definition at line 176 of file lib.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/admin/registration/lib.php