SysController
class SysController extends BaseController
Sys controller, possibly other useful backend things
Properties
static boolean | $batchMode | Controller is in batch mode | from BaseController |
static array | $batchedResponses | Stack for batched responses | from BaseController |
Methods
Index action
Simple heartbeat endpoint. Helps maintain session state.
Simple endpoint to allow for controlled redirect to the forced password reset box. This allows it to properly redirect after a login
No description
Details
in BaseController at line line 60
int
getStatusCode()
Return status code
in BaseController at line line 69
array
getHeaders()
Return current headers
in BaseController at line line 78
string
getPayload()
Return payload
in BaseController at line line 87
setStatusCode(int $code)
Set status code
in BaseController at line line 97
setHeaders(string $key, string $value)
Set header value
in BaseController at line line 106
setPayload(string $payload)
Set payload
in BaseController at line line 294
static
startBatchMode()
Static method to enable batch mode return handling
in BaseController at line line 302
static
endBatchMode()
Static method to disable batch mode return handling
at line line 22
indexAction()
Index action
Provides:
at line line 31
pingAction()
Simple heartbeat endpoint. Helps maintain session state.
Application state is managed via JWT, but preview and other bits are controlled via the session.
at line line 44
passwdAction()
Simple endpoint to allow for controlled redirect to the forced password reset box. This allows it to properly redirect after a login