-
Notifications
You must be signed in to change notification settings - Fork 194
Controller JSON
Jeff Johns edited this page Feb 6, 2014
·
2 revisions
| Controller | Extends | Path |
|---|---|---|
| Json | Plain_Controller | /application/controllers/json.php |
| Type | Accessible |
|---|---|
| XMLHttpRequest | Yes |
| API | Yes |
| Web View | Yes |
Used only to show errors in JSON format.
Called automatically which in turn calls the parent constructor.
Returns a 403 error.
Used to ping from the Chrome Extension to see if the user is logged in. If looks for if the user is logged in and if the X_CHROME_EXTENSION header was sent.
A catch all that returns a 404 error.