Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
News Class Reference
Inheritance diagram for News:
Inheritance graph
Collaboration diagram for News:
Collaboration graph

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=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 ()

Additional Inherited Members

- Protected Attributes inherited from RouteMap
 $pagination = false
 $offset
 $limit

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

Here is the call graph for this function:

static before ( )
static
createNews (   $range_id = 'studip')

News anlegen

Postcondition
/course/:course_id/news
/user/:user_id/news
/studip/news

Here is the call graph for this function:

destroyComment (   $comment_id)

News-Comment löschen

/comment/:comment_id

Here is the call graph for this function:

destroyNews (   $news_id)

News löschen

/news/:news_id

Here is the call graph for this function:

getComment (   $comment_id)

News-Comment auslesen

/comment/:comment_id

Here is the call graph for this function:

getCourseNews (   $course_id)

News einer Veranstaltung auslesen

/course/:course_id/news

Here is the call graph for this function:

getGlobalNews ( )

Globale News auslesen

/studip/news

Here is the call graph for this function:

getNews (   $news_id)

News auslesen

/news/:news_id

Here is the call graph for this function:

getNewsComments (   $news_id)

News-Comments auslesen

/news/:news_id/comments

Here is the call graph for this function:

getUserNews (   $user_id)

News eines Nutzers auslesen

/user/:user_id/news

Here is the call graph for this function:

updateNews (   $news_id)

News updaten

/news/:news_id

Here is the call graph for this function:


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