Feed extends AppController
Call data feed endpoints from an external website
Table of Contents
Methods
| index() | Processes the request for the desired data feed |
| preAction() | Pre-action setup method that is called before the index method, or the set controller action |
| formatResponse() | Formats a data feed endpoint response in to Javascript |
Methods
index()
Processes the request for the desired data feed
public
index() : mixed
preAction()
Pre-action setup method that is called before the index method, or the set controller action
public
preAction() : mixed
formatResponse()
Formats a data feed endpoint response in to Javascript
private
formatResponse(string $response) : string
Parameters
- $response : string
-
The response of the data feed endpoint
Return values
string —The formatted response