\hypertarget{__310_8templates_8php}{\section{Riferimenti per il file \-\_\-src/\-\_\-config/\-\_\-310.templates.\-php}
\label{d9/d2b/__310_8templates_8php}\index{\-\_\-src/\-\_\-config/\-\_\-310.\-templates.\-php@{\-\_\-src/\-\_\-config/\-\_\-310.\-templates.\-php}}
}


configurazioni generali relative ai templates  


\subsection*{Variabili}
\begin{DoxyCompactItemize}
\item 
const \hyperlink{__310_8templates_8php_aef1ab5278a59ffa810e64512ef0ddbcf_aef1ab5278a59ffa810e64512ef0ddbcf}{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S} = 10
\item 
const \hyperlink{__310_8templates_8php_a7ee704a5380a4efdd4b03479c76604cb_a7ee704a5380a4efdd4b03479c76604cb}{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G} = 20
\item 
const \hyperlink{__310_8templates_8php_acc723fd3c49f7d6efdd4bbf8b5145740_acc723fd3c49f7d6efdd4bbf8b5145740}{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L} = N\-U\-L\-L
\end{DoxyCompactItemize}


\subsection{Descrizione dettagliata}
configurazioni generali relative ai templates Il sistema di rendering \hyperlink{__pages_8build_8php_af464184cc9788516d051bec840fe1a1c_af464184cc9788516d051bec840fe1a1c}{build\-Page()} supporta diversi tipi di template, e per ognuno è in grado di eseguire le operazioni necessarie alla costruzione dell'output.

\subsubsection*{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S}

\subsubsection*{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G}

I template di tipo T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G vengono gestiti tramite Twig (\href{http://twig.sensiolabs.org/}{\tt http\-://twig.\-sensiolabs.\-org/}). Un template di tipo T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G è composto dalle seguenti cartelle\-:


\begin{DoxyItemize}
\item bin
\item css
\end{DoxyItemize}

Il framework mette a disposizione del template un array contenente tutti i dati necessari a costruire la pagina.

\subsubsection*{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L}

I template di tipo T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L passano direttamente l'output al browser senza ulteriori elaborazioni; sono utilizzati soprattutto per web service e simili.

\begin{DoxyRefDesc}{Da fare}
\item[\hyperlink{todo__todo000017}{Da fare}]finire di documentare\end{DoxyRefDesc}


\subsection{Documentazione delle variabili}
\hypertarget{__310_8templates_8php_acc723fd3c49f7d6efdd4bbf8b5145740_acc723fd3c49f7d6efdd4bbf8b5145740}{\index{\-\_\-310.\-templates.\-php@{\-\_\-310.\-templates.\-php}!T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L}}
\index{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L}!_310.templates.php@{\-\_\-310.\-templates.\-php}}
\subsubsection[{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L}]{\setlength{\rightskip}{0pt plus 5cm}const T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-N\-U\-L\-L = N\-U\-L\-L}}\label{d9/d2b/__310_8templates_8php_acc723fd3c49f7d6efdd4bbf8b5145740_acc723fd3c49f7d6efdd4bbf8b5145740}
\hypertarget{__310_8templates_8php_a7ee704a5380a4efdd4b03479c76604cb_a7ee704a5380a4efdd4b03479c76604cb}{\index{\-\_\-310.\-templates.\-php@{\-\_\-310.\-templates.\-php}!T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G}}
\index{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G}!_310.templates.php@{\-\_\-310.\-templates.\-php}}
\subsubsection[{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G}]{\setlength{\rightskip}{0pt plus 5cm}const T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-T\-W\-I\-G = 20}}\label{d9/d2b/__310_8templates_8php_a7ee704a5380a4efdd4b03479c76604cb_a7ee704a5380a4efdd4b03479c76604cb}
\hypertarget{__310_8templates_8php_aef1ab5278a59ffa810e64512ef0ddbcf_aef1ab5278a59ffa810e64512ef0ddbcf}{\index{\-\_\-310.\-templates.\-php@{\-\_\-310.\-templates.\-php}!T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S}}
\index{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S@{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S}!_310.templates.php@{\-\_\-310.\-templates.\-php}}
\subsubsection[{T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S}]{\setlength{\rightskip}{0pt plus 5cm}const T\-E\-M\-P\-L\-A\-T\-E\-\_\-\-V\-I\-D\-E\-O\-A\-R\-T\-S = 10}}\label{d9/d2b/__310_8templates_8php_aef1ab5278a59ffa810e64512ef0ddbcf_aef1ab5278a59ffa810e64512ef0ddbcf}
