new (require("mod_assign/user"))(baseUrl)
- Description:
Construct the class.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
baseUrl |
string | The base URL for the page. |
Methods
fetchDataset() → {Promise.<*>}
- Description:
Get the data we will be searching against in this component.
- Source:
Returns:
- Type
- Promise.<*>
selectAllResultsLink() → {string|*}
- Description:
Build up the view all link.
- Source:
Returns:
- Type
- string | *
selectOneLink(userID) → {string|*}
- Description:
Build up the link that is dedicated to a particular result.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
userID |
Number | The ID of the user selected. |
Returns:
- Type
- string | *