set_status_header([$code = 200[, $text = '']])
Parameters: |
|
---|---|
Returns: |
CI_Output instance (method chaining) |
Return type: |
CI_Output |
Permits you to manually set a server status header. Example:
$this->output->set_status_header(401); // Sets the header as: Unauthorized
See here for a full list of headers.
Note
This method is an alias for Common function set_status_header()
.
Please login to continue.