| [ Index ] |
|
Code source de Serendipity 1.2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 299 lignes (9 kb) |
| Inclus ou requis: | 2 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
serendipity_smarty_emulator:: (7 méthodes):
assign()
assign_by_ref()
call()
display()
trigger_error()
getdefault()
fetch()
serendipity_smarty_emulator_xml:: (7 méthodes):
fetch()
display()
__construct()
serendipity_smarty_emulator_xml()
assign()
assign_by_ref()
createXML()
Classe: serendipity_smarty_emulator - X-Ref
| assign($tpl_var, $value = null) X-Ref |
| Assign one or multiple template variable param: mixed Either a variable name, or an array of variables param: mixed Either null or the variable content. return: null |
| assign_by_ref($tpl_var, &$value) X-Ref |
| Assign one or multiple template variable by reference param: string Variable name param: mixed Referenced variable return: null |
| call($funcname, $params) X-Ref |
| Helper function to call a 'serendipity_smarty_xx' function with less parameters. param: string Function name to call. param: array Array of parameters return: string Output |
| display($resource_name) X-Ref |
| Outputs a smarty template. param: string Full path to template file return: boolean |
| trigger_error($txt) X-Ref |
| Triggers a template error param: string Error message return: null |
| getdefault() X-Ref |
| Echoes a default value. Append multiple values and will output the first non empty value. param: mixed The value to emit. return: null |
| fetch($resource_name, $cache_id = null, $compile_id = null, $display = false) X-Ref |
| Parses a template file into another. param: string The path to the resource name (prefixed with 'file:' usually) param: string The Cache ID (not used) param: string The Compile ID (not used) param: boolean Output data (true) or return it (false)? return: null |
Classe: serendipity_smarty_emulator_xml - X-Ref
| fetch() X-Ref |
| Parses a template file into another. return: null |
| display() X-Ref |
| Outputs a smarty template. return: null |
| __construct() X-Ref |
| Pas de description |
| serendipity_smarty_emulator_xml() X-Ref |
| Pas de description |
| assign($tpl_var, $value = null, $level = 0) X-Ref |
| Assign one or multiple template variable param: mixed Either a variable name, or an array of variables param: mixed Either null or the variable content. return: null |
| assign_by_ref($tpl_var, &$value) X-Ref |
| Assign one or multiple template variable by reference param: string Variable name param: mixed Referenced variable return: null |
| createXML(&$level, &$key, &$val) X-Ref |
| Create the XML output for an element param: int The intend level param: mixed The XML element name param: mixed The XML element value |
| Généré le : Sat Nov 24 09:00:37 2007 | par Balluche grâce à PHPXref 0.7 |
|