Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: prefilter.tr.php

Source Location: /themes/smartyplugins/prefilter.tr.php



Page Details:

Smarty plugin



Tags:

filesource:  Source Code for this file








smarty_prefilter_tr [line 15]

full smarty_prefilter_tr( array $source)

smarty_prefilter_tr



Tags:

return:  source with partially treated {tr} sections
access:  public


Parameters

array   $source  
[ Top ]



_translate_lang [line 39]

translated _translate_lang( array $pKey, array $pKey[0], array $pKey[1], array $pKey[2])

_translate_lang



Tags:

return:  

string

Note: If you want to have a {tr} block interpreted AFTER variable substitution, add a parameter to {tr} e.g.: {tr post=1}text {$that} needs to be {$evaluated}{/tr}

access:  protected


Parameters

array   $pKey   Hash passed in by smarty_prefilter_tr() above
array   $pKey[0]   starting {tr} tag
array   $pKey[1]   string that needs to be translated
array   $pKey[2]   flosing {/tr} tag
[ Top ]



Documentation generated on Wed, 29 Jul 2015 13:57:16 +0000 by phpDocumentor 1.5.0-lsces