Common Methods
revIgniter uses a few methods for its operation that are available to you at any point. These do not require loading any libraries or helpers.
fetchConfigItem("Item", "Index")
The Config library is the preferred way of accessing configuration information, however fetchConfigItem() can be used to retrieve single keys. See Config library documentation for more information.
showError "message", show404 "page", logMessage "level", "message"
These are each outlined on the Error Handling page.
setStatusHeader code, "text"
Permits you to manually set a server status header. Example:
setStatusHeader 401
// Sets the header as: Unauthorized
See here for a full list of headers.