Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Feedback Class Reference
Inheritance diagram for Feedback:
RouteMap

Public Member Functions

 createFeedbackElement ($range_id, $range_type)
 
 getFeedbackElement ($feedback_id)
 
 getFeedbackEntries ($feedback_id)
 
 editFeedbackElement ($feedback_id)
 
 deleteFeedbackElement ($feedback_id)
 
 getFeedbackElementsForRange ($range_id, $range_type)
 
 getFeedbackElementsForCourse ($course_id)
 
 addFeedbackEntry ($feedback_id)
 
 editFeedbackEntry ($entry_id)
 
 deleteFeedbackEntry ($entry_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 ()
 

Additional Inherited Members

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

Detailed Description

Author
Nils Gehrke nils..nosp@m.gehr.nosp@m.ke@un.nosp@m.i-go.nosp@m.ettin.nosp@m.gen..nosp@m.de

feedback_id ^*$ course_id ^[a-f0-9]{32}$

Member Function Documentation

addFeedbackEntry (   $feedback_id)

add an entry for a feedback element

Postcondition
/feedback/:feedback_id/entry
createFeedbackElement (   $range_id,
  $range_type 
)

Create feedback element for a range

Postcondition
/feedback/range/:range_id/:range_type
deleteFeedbackElement (   $feedback_id)

Delete a feedback element

/feedback/:feedback_id

deleteFeedbackEntry (   $entry_id)

delete an entry of a feedback element

/feedback/entry/:entry_id

editFeedbackElement (   $feedback_id)

Edit a feedback element

/feedback/:feedback_id

editFeedbackEntry (   $entry_id)

edit an entry of a feedback element

/feedback/entry/:entry_id

getFeedbackElement (   $feedback_id)

Get a feedback element

/feedback/:feedback_id

getFeedbackElementsForCourse (   $course_id)

List all feedback elements of a course

/course/:course_id/feedback

getFeedbackElementsForRange (   $range_id,
  $range_type 
)

List all feedback elements for a range

/feedback/range/:range_id/:range_type

Parameters
string$range_id
string$range_type
getFeedbackEntries (   $feedback_id)

Get all entries of a feedback element

/feedback/:feedback_id/entries


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