Public Member Functions |
| | getGlobalNews () |
| | getCourseNews ($course_id) |
| | getUserNews ($user_id) |
| | getNews ($news_id) |
| | destroyNews ($news_id) |
| | updateNews ($news_id) |
| | createNews ($range_id= 'studip') |
| | getNewsComments ($news_id) |
| | getComment ($comment_id) |
| | appendComment ($news_id) |
| | destroyComment ($comment_id) |
| | __construct () |
| | init ($router, $route) |
| | paginated ($data, $total, $uri_params=array(), $query_params=array()) |
| | paginate ($uri_format, $total, $offset=null, $limit=null) |
| | collect ($data) |
| | status ($status) |
| | headers ($headers=array()) |
| | body ($body) |
| | contentType ($mime_type, $params=array()) |
| | error ($status, $body=null) |
| | etag ($value, $strong_etag=true, $new_resource=null) |
| | expires ($amount, $cache_control=array()) |
| | cacheControl ($values) |
| | halt () |
| | lastModified ($time) |
| | notFound ($body=null) |
| | redirect ($url, $args=null) |
| | sendFile ($_path, $opts=array()) |
| | url ($addr, $url_params=null) |
| | urlf ($addr_f, $format_params, $url_params=null) |
Static Public Member Functions |
| static | before () |
Detailed Description
- Author
- mlunz.nosp@m.ena@.nosp@m.uos.d.nosp@m.e GPL 2 or later
news_id ^[0-9a-f]{32}$ course_id ^[0-9a-f]{32}$ user_id ^[0-9a-f]{32}$ comment_id ^[0-9a-f]{32}$
Member Function Documentation
| appendComment |
( |
|
$news_id | ) |
|
News-Comment anlegen
- Postcondition
- /news/:news_id/comments
| createNews |
( |
|
$range_id = 'studip' | ) |
|
News anlegen
- Postcondition
- /course/:course_id/news
-
/user/:user_id/news
-
/studip/news
| destroyComment |
( |
|
$comment_id | ) |
|
News-Comment löschen
/comment/:comment_id
News löschen
/news/:news_id
| getComment |
( |
|
$comment_id | ) |
|
News-Comment auslesen
/comment/:comment_id
| getCourseNews |
( |
|
$course_id | ) |
|
News einer Veranstaltung auslesen
/course/:course_id/news
Globale News auslesen
/studip/news
News auslesen
/news/:news_id
| getNewsComments |
( |
|
$news_id | ) |
|
News-Comments auslesen
/news/:news_id/comments
News eines Nutzers auslesen
/user/:user_id/news
News updaten
/news/:news_id
The documentation for this class was generated from the following file: