-
Notifications
You must be signed in to change notification settings - Fork 193
Controller Export
Jakub Jakubiec edited this page Feb 24, 2014
·
1 revision
Controller | Extends | Path |
---|---|---|
Export | Plain_Controller | /application/controllers/export.php |
Type | Accessible |
---|---|
XMLHttpRequest | Logged in only |
API | No |
Web View | Logged in only |
This controller handles exporting of current user's data into JSON encoded file that can be further used to move data to another Nilai install or as user's backup.
Called automatically which in turn calls the parent constructor. It also does the following:
- Redirects the user if no user id is found
- Sets default success to false
Saves all user marks with tags/labels and additional information into JSON encoded file returned as attachment.