|
| | 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, $request_body=null) |
| |
| | 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) |
| |
- Author
- mlunz.nosp@m.ena@.nosp@m.uos.d.nosp@m.e @license GPL 2 or later
@condition news_id ^[0-9a-f]{32}$ @condition course_id ^[0-9a-f]{32}$ @condition user_id ^[0-9a-f]{32}$ @condition comment_id ^[0-9a-f]{32}$
◆ appendComment()
| appendComment |
( |
|
$news_id | ) |
|
News-Comment anlegen
- Postcondition
- /news/:news_id/comments
◆ before()
◆ createNews()
| createNews |
( |
|
$range_id = 'studip' | ) |
|
News anlegen
- Postcondition
- /course/:course_id/news
-
/user/:user_id/news
-
/studip/news
◆ destroyComment()
| destroyComment |
( |
|
$comment_id | ) |
|
News-Comment löschen
@delete /comment/:comment_id
◆ destroyNews()
News löschen
@delete /news/:news_id
◆ getComment()
| getComment |
( |
|
$comment_id | ) |
|
News-Comment auslesen
@get /comment/:comment_id
◆ getCourseNews()
| getCourseNews |
( |
|
$course_id | ) |
|
News einer Veranstaltung auslesen
@get /course/:course_id/news
◆ getGlobalNews()
Globale News auslesen
@get /studip/news
◆ getNews()
News auslesen
@get /news/:news_id
◆ getNewsComments()
| getNewsComments |
( |
|
$news_id | ) |
|
News-Comments auslesen
@get /news/:news_id/comments
◆ getUserNews()
News eines Nutzers auslesen
@get /user/:user_id/news
◆ updateNews()
News updaten
@put /news/:news_id
The documentation for this class was generated from the following file: