\HeaderA{aRTlayer-createTheme}{Create a theme}{aRTlayer.Rdash.createTheme}
\aliasA{createTheme}{aRTlayer-createTheme}{createTheme}
\aliasA{createTheme,aRTlayer-method}{aRTlayer-createTheme}{createTheme,aRTlayer.Rdash.method}
\keyword{database}{aRTlayer-createTheme}
\begin{Description}\relax
Creates a new theme and returns it.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'aRTlayer':
createTheme(object, themename, tables=tables, viewname="view")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] Object of class \code{aRTlayer}.
\item[\code{themename}] The theme name. Default is the layer name.
\item[\code{tables}] The tables from the layer to be joined in the theme. There are some
restrictions joining tables, for example the theme can have only one type
of temporal table. It can generate errors because the default are all tables
of the layer.
\item[\code{viewname}] The view name. The default is the theme name.
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{aRTtheme-class} to the description of this class.
\end{SeeAlso}

