class InPageController (View source)

The inPage controller.

Methods

static Response
edit()

Handle AJAX request for editing a data variable in-page context.

Details

static Response edit()

Handle AJAX request for editing a data variable in-page context.

If no data gets received, form fields to build up the editing dialog are send back. Else the received data gets merged with the full data array of the requested context and saved back into the .txt file. In case the title variable gets modified, the page directory gets renamed accordingly.

Return Value

Response the response object