Stud.IP  5.4
News Class Reference
Inheritance diagram for News:

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)
- Public Member Functions inherited from RouteMap
 __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)
 getResponse ()

Static Public Member Functions

static before ()

Additional Inherited Members

- Protected Member Functions inherited from RouteMap
 extractConditions ($docblock, $conditions=[])
- Protected Attributes inherited from RouteMap
 $data = null
 $pagination = false

Detailed Description

mlunz.nosp@m.ena@.nosp@m.uos.d.nosp@m.e GPL 2 or later

news_id ^[0-9a-f]{1,32}$ course_id ^[0-9a-f]{1,32}$ user_id ^[0-9a-f]{1,32}$ comment_id ^[0-9a-f]{1,32}$

Member Function Documentation

◆ appendComment()

appendComment (   $news_id)

News-Comment anlegen


◆ before()

static before ( )

◆ createNews()

createNews (   $range_id = 'studip')

News anlegen


◆ destroyComment()

destroyComment (   $comment_id)

News-Comment löschen


◆ destroyNews()

destroyNews (   $news_id)

News löschen


◆ getComment()

getComment (   $comment_id)

News-Comment auslesen


◆ getCourseNews()

getCourseNews (   $course_id)

News einer Veranstaltung auslesen


◆ getGlobalNews()

getGlobalNews ( )

Globale News auslesen


◆ getNews()

getNews (   $news_id)

News auslesen


◆ getNewsComments()

getNewsComments (   $news_id)

News-Comments auslesen


◆ getUserNews()

getUserNews (   $user_id)

News eines Nutzers auslesen


◆ updateNews()

updateNews (   $news_id)

News updaten


The documentation for this class was generated from the following file: