|
| | getUser ($user_id='') |
| |
| | deleteUser ($user_id) |
| |
| | getInstitutes ($user_id) |
| |
| | getTopFolder ($user_id) |
| |
| | patchCourseGroup ($user_id, $course_id) |
| |
| | __construct () |
| |
| | init ($router, $route) |
| |
| | paginated ($data, $total, $uri_params=[], $query_params=[]) |
| |
| | paginate ($uri_format, $total, $offset=null, $limit=null) |
| |
| | collect ($data) |
| |
| | status ($status) |
| |
| | headers ($headers=[]) |
| |
| | body ($body) |
| |
| | contentType ($mime_type, $params=[]) |
| |
| | error ($status, $body=null) |
| |
| | etag ($value, $strong_etag=true, $new_resource=null) |
| |
| | expires ($amount, $cache_control=[]) |
| |
| | cacheControl ($values) |
| |
| | halt () |
| |
| | lastModified ($time) |
| |
| | notFound ($body=null) |
| |
| | redirect ($url, $args=null) |
| |
| | sendFile ($_path, $opts=[]) |
| |
| | url ($addr, $url_params=null) |
| |
| | urlf ($addr_f, $format_params, $url_params=null) |
| |
| | getRoutes ($http_method=null) |
| |
◆ deleteUser()
deleteUser - deletes a user
@delete /user/:user_id
◆ getInstitutes()
| getInstitutes |
( |
|
$user_id | ) |
|
returns institutes for a given user
@get /user/:user_id/institutes
◆ getMiniUser()
| static getMiniUser |
( |
|
$routemap, |
|
|
|
$user |
|
) |
| |
|
static |
◆ getNamesOfUser()
| static getNamesOfUser |
( |
|
$user | ) |
|
|
static |
◆ getTopFolder()
Get the root file folder of a user's file area.
@get /user/:user_id/top_folder
◆ getUser()
getUser - retrieves data of a user
@get /user/:user_id @get /user
◆ patchCourseGroup()
| patchCourseGroup |
( |
|
$user_id, |
|
|
|
$course_id |
|
) |
| |
Patches the course member data of a user and course. Pass data to be patched via a valid json object in the body. Fields that my be patched:
- group - the associated group in the overview of the users's courses
- visibility - visible state of the course
@patch /user/:user_id/courses/:course_id
- Todo:
- more patchable fields?
The documentation for this class was generated from the following file: