[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
\defgroup Template
Poids: | 222 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 2 fois |
Nécessite: | 0 fichiers |
Template:: (7 méthodes):
Template()
_smarty_include()
setTemplateDir()
getTemplateFile()
fetch()
display()
isCached()
Template( $templateFile ) X-Ref |
Constructor. param: templateFile Complete path to the template file we are going to render |
_smarty_include($params) X-Ref |
called for included templates This has been reimplemented from Smarty::_smarty_include() so that we can define a set of locations where template files can be located if the specified path and file do not exist. |
setTemplateDir( $templateDir ) X-Ref |
By default templates are searched in the folder specified by the template_folder configuration setting, but we can force Smarty to look for those templates somewhere else. This method is obviously to be used *before* rendering the template ;) param: templateFolder The new path where we'd like to search for templates return: Returns always true. |
getTemplateFile() X-Ref |
Returns the name of the template file return: The name of the template file |
fetch() X-Ref |
Renders the template and returns the contents as an string return: The result as an string |
display() X-Ref |
Displays the result of rendering the template return: I don't know :) |
isCached( $viewId ) X-Ref |
the Template object is by default not cached param: viewId Not used return: always false |
smarty_block_dynamic($param, $content, &$smarty) X-Ref |
Pas de description |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |