Class KSmarty

Description

Smarty template engine customization

Located in /karibou2/class/ksmarty.class.php (line 29)

Smarty
   |
   --KSmarty
Variable Summary
mixed $appList
mixed $hookManager
mixed $kapp
mixed $language
Method Summary
KSmarty KSmarty (AppList $appList, mixed $hookManager, [mixed $currentLanguage = ""])
void displayHook (mixed $param)
void fetch (mixed $_smarty_tpl_file, [mixed $_smarty_cache_id = null], [mixed $_smarty_compile_id = null], [mixed $_smarty_display = false])
void getApp ()
void getAppList ()
string|false is_cached (string $tpl_file, [string $cache_id = null], [string $compile_id = null])
void prefilterTranslation ($tpl_source $tpl_source, mixed &$smarty)
void setApp (mixed $app)
void translate_key (mixed $key)
void _translate_key ($key $key)
Variables
mixed $appList (line 32)
  • access: protected
mixed $currentLanguage (line 38)
  • access: protected
mixed $hookManager (line 36)
  • access: protected
mixed $kapp (line 31)
  • access: protected
mixed $language (line 34)
  • access: protected
Methods
Constructor KSmarty (line 40)
KSmarty KSmarty (AppList $appList, mixed $hookManager, [mixed $currentLanguage = ""])
displayHook (line 147)
void displayHook (mixed $param)
fetch (line 71)
void fetch (mixed $_smarty_tpl_file, [mixed $_smarty_cache_id = null], [mixed $_smarty_compile_id = null], [mixed $_smarty_display = false])
getApp (line 81)
void getApp ()
getAppList (line 89)
void getAppList ()
is_cached (line 103)

test to see if valid cache exists for this template

  • return: results of _read_cache_file()
string|false is_cached (string $tpl_file, [string $cache_id = null], [string $compile_id = null])
  • string $tpl_file: name of template file
  • string $cache_id
  • string $compile_id
prefilterTranslation (line 125)

prefilterTranslation() Methode gerant la traduction du document

void prefilterTranslation ($tpl_source $tpl_source, mixed &$smarty)
  • $tpl_source $tpl_source
quick_hack_clear_values (line 155)
void quick_hack_clear_values ()
setApp (line 85)
void setApp (mixed $app)
translate_key (line 141)
void translate_key (mixed $key)
_translate_key (line 137)

Methode traduisant le mot cle donne en parametre

void _translate_key ($key $key)
  • $key $key

Documentation generated on Sat, 17 Feb 2007 02:55:00 +0100 by phpDocumentor 1.3.0RC3