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

Public Member Functions

 getForumCategories ($course_id)
 createForumCategory ($course_id)
 getForumCategory ($category_id)
 updateForumCategory ($category_id)
 deleteForumCategory ($category_id)
 getCategoryEntries ($category_id)
 appendForumEntry ($category_id)
 getForumEntry ($entry_id)
 addForumEntry ($parent_id)
 updateForumEntry ($entry_id)
 deleteForumEntry ($entry_id)
 convertEntry ($raw)
- 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 course_id ^[a-f0-9]{32}$

Member Function Documentation

addForumEntry (   $parent_id)

Add a new forum entry to an existing one

Postcondition
/forum_entry/:entry_id

Here is the call graph for this function:

appendForumEntry (   $category_id)

Add a new forum entry to an existing one

Postcondition
/forum_category/:category_id/areas

Here is the call graph for this function:

static before ( )
static
convertEntry (   $raw)

Here is the call graph for this function:

createForumCategory (   $course_id)

Create a new category

Postcondition
/course/:course_id/forum_categories

Here is the call graph for this function:

deleteForumCategory (   $category_id)

Delete a category

/forum_category/:category_id

Here is the call graph for this function:

deleteForumEntry (   $entry_id)

Delete an entry

/forum_entry/:entry_id

Here is the call graph for this function:

getCategoryEntries (   $category_id)

Show entries of a category

/forum_category/:category_id/areas

Here is the call graph for this function:

getForumCategories (   $course_id)

List all categories of a forum

/course/:course_id/forum_categories

Here is the call graph for this function:

getForumCategory (   $category_id)

Read a category

/forum_category/:category_id

Here is the call graph for this function:

getForumEntry (   $entry_id)

Get a forum entry

/forum_entry/:entry_id

Here is the call graph for this function:

updateForumCategory (   $category_id)

Update a category

/forum_category/:category_id

Here is the call graph for this function:

updateForumEntry (   $entry_id)

Update an existing one forum entry

/forum_entry/:entry_id

Here is the call graph for this function:


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