\APIwesome
Passes the current request over to the APIwesomeService.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class APIwesome
extends Controller
{
- // members
- public $service;
- private static array $dependencies = ;
- private static array $allowed_actions = ;
- // methods
- public void index()
- public void httpError()
- public void regenerateToken()
- public void retrieve()
- public void validate()
Hierarchy
Extends
- Controller
Members
private
- $allowed_actions
- $dependencies
public
- $service
Methods
public
- httpError() — Display an error page on invalid request.
- index() — Reject a direct APIwesome request.
- regenerateToken() — Attempt to regenerate the current security token.
- retrieve() — Retrieve the appropriate JSON/XML output of a specified data object type, with optional filters parsed from the GET request.
- validate() — Determine whether the request token matches the current security token.