Stud.IP  4.2 Revision
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, $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)
 

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

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

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:

◆ before()

static before ( )
static

◆ convertEntry()

convertEntry (   $raw)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createForumCategory()

createForumCategory (   $course_id)

Create a new category

Postcondition
/course/:course_id/forum_categories
Here is the call graph for this function:

◆ deleteForumCategory()

deleteForumCategory (   $category_id)

Delete a category

/forum_category/:category_id

Here is the call graph for this function:

◆ deleteForumEntry()

deleteForumEntry (   $entry_id)

Delete an entry

/forum_entry/:entry_id

Here is the call graph for this function:

◆ getCategoryEntries()

getCategoryEntries (   $category_id)

Show entries of a category

/forum_category/:category_id/areas

Here is the call graph for this function:

◆ getForumCategories()

getForumCategories (   $course_id)

List all categories of a forum

/course/:course_id/forum_categories

Here is the call graph for this function:

◆ getForumCategory()

getForumCategory (   $category_id)

Read a category

/forum_category/:category_id

Here is the call graph for this function:

◆ getForumEntry()

getForumEntry (   $entry_id)

Get a forum entry

/forum_entry/:entry_id

Here is the call graph for this function:

◆ updateForumCategory()

updateForumCategory (   $category_id)

Update a category

/forum_category/:category_id

Here is the call graph for this function:

◆ updateForumEntry()

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: