Stud.IP  trunk Revision
JSONRenderer Class Reference
Inheritance diagram for JSONRenderer:
Inheritance graph
Collaboration diagram for JSONRenderer:
Collaboration graph

Public Member Functions

 contentType ()
 
 extension ()
 
 render ($response)
 
- Public Member Functions inherited from DefaultRenderer
 contentType ()
 
 extension ()
 
 render ($response)
 
 shouldRespondTo ($filename, $media_range=null)
 

Detailed Description

Content renderer for json content.

Author
Jan-Hendrik Willms tleil.nosp@m.ax+s.nosp@m.tudip.nosp@m.@gma.nosp@m.il.co.nosp@m.m
mlunz.nosp@m.ena@.nosp@m.uos.d.nosp@m.e @license GPL 2 or later
Since
Stud.IP 3.0

Member Function Documentation

◆ contentType()

contentType ( )

Returns an associated content type.

Returns
String Content/mime type for this renderer

Reimplemented from DefaultRenderer.

Here is the caller graph for this function:

◆ extension()

extension ( )

Returns an associated extension.

Returns
String Associated extension for this renderer.

Reimplemented from DefaultRenderer.

◆ render()

render (   $response)

Response transformation function.

Parameters
\RESTAPI\Response$responsethe response to transform

Reimplemented from DefaultRenderer.

Here is the call graph for this function:

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