% Generated by roxygen2: do not edit by hand % Please edit documentation in R/frameApplication.R \name{FrameApplication} \alias{FrameApplication} \title{Basic R shiny application} \value{ A DBClient instance which is useable for the session An R Shiny application suitable for \link[shiny]{runApp} } \description{ Basic R shiny application Basic R shiny application } \section{Methods}{ \subsection{Public methods}{ \itemize{ \item \href{#method-FrameApplication-new}{\code{FrameApplication$new()}} \item \href{#method-FrameApplication-withSessionLogger}{\code{FrameApplication$withSessionLogger()}} \item \href{#method-FrameApplication-withBootstrap4Shim}{\code{FrameApplication$withBootstrap4Shim()}} \item \href{#method-FrameApplication-getSessionDBClient}{\code{FrameApplication$getSessionDBClient()}} \item \href{#method-FrameApplication-ui}{\code{FrameApplication$ui()}} \item \href{#method-FrameApplication-server}{\code{FrameApplication$server()}} \item \href{#method-FrameApplication-app}{\code{FrameApplication$app()}} \item \href{#method-FrameApplication-clone}{\code{FrameApplication$clone()}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-new}{}}} \subsection{Method \code{new()}}{ Creates a new R Shiny application \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$new(appPage = NULL, language = NULL)}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{appPage}}{\if{html}{\out{}} An application module (attempts to load pages/application.R if not supplied)} \item{\code{language}}{\if{html}{\out{}} The language to use for the HTML page (defaults to "en")} } \if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-withSessionLogger}{}}} \subsection{Method \code{withSessionLogger()}}{ Binds the application to a session logger \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$withSessionLogger(sessionLogger)}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{sessionLogger}}{The session logger instance to use} } \if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-withBootstrap4Shim}{}}} \subsection{Method \code{withBootstrap4Shim()}}{ Loads with the Bootstrap 4 shim CSS file \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$withBootstrap4Shim()}\if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-getSessionDBClient}{}}} \subsection{Method \code{getSessionDBClient()}}{ Returns a DBClient instance for the current session \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$getSessionDBClient( session, db_config = NULL, allowFailure = FALSE )}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{session}}{An R Shiny session} \item{\code{db_config}}{The database configuration to use (will attempt to find and load a global.R or .env.R file if not supploed)} \item{\code{allowFailure}}{If a configuration cannot be loaded or a connection to the database cannot be made, do not abort} } \if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-ui}{}}} \subsection{Method \code{ui()}}{ Creates the UI component for an R Shiny application \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$ui()}\if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-server}{}}} \subsection{Method \code{server()}}{ Creates the server component for an R Shiny application \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$server(input, output, session, ...)}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{input}}{The UI inputs bound for the session} \item{\code{output}}{The UI outputs bound for the session} \item{\code{session}}{The current session} \item{\code{...}}{Parameters passed into the inner application} } \if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-app}{}}} \subsection{Method \code{app()}}{ Instantiates an R Shiny application \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$app()}\if{html}{\out{
}} } } \if{html}{\out{
}} \if{html}{\out{}} \if{latex}{\out{\hypertarget{method-FrameApplication-clone}{}}} \subsection{Method \code{clone()}}{ The objects of this class are cloneable with this method. \subsection{Usage}{ \if{html}{\out{
}}\preformatted{FrameApplication$clone(deep = FALSE)}\if{html}{\out{
}} } \subsection{Arguments}{ \if{html}{\out{
}} \describe{ \item{\code{deep}}{Whether to make a deep clone.} } \if{html}{\out{
}} } } }