OP\MoodleResponse
class used to respond with JSON requests
Synopsis
class MoodleResponse
{
- // methods
- public void __construct()
- public json Content()
- public string Error()
- private DataList|null parseobject()
- public DataList|null Data()
Members
private
- $content
- $error
Methods
private
- parseobject() — Recursivity creates the SilverStripe dataobject represntation of content
public
- __construct()
- Content() — JSON array of the result of the response
- Data() — Returns SilverStripe object representations of content
- Error() — if there was any error in