Stud.IP
trunk Revision
|
Public Member Functions | |
before ($router, &$handler, &$parameters) | |
getEvents ($user_id) | |
getEventsICAL ($user_id) | |
getEventsForCourse ($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) | |
Additional Inherited Members | |
![]() | |
extractConditions ($docblock, $conditions=[]) | |
![]() | |
$pagination = false | |
$offset | |
$limit | |
course_id ^[a-f0-9]{32}$ user_id ^[a-f0-9]{32}$ semester_id ^[a-f0-9]{32}$
before | ( | $router, | |
& | $handler, | ||
& | $parameters | ||
) |
getEvents | ( | $user_id | ) |
returns all upcoming events within the next two weeks for a given user
/user/:user_id/events
getEventsForCourse | ( | $course_id | ) |
returns events for a given course
/course/:course_id/events
getEventsICAL | ( | $user_id | ) |
returns an iCAL Export of all events for a given user
/user/:user_id/events.ics