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

Procedural File: function.moduleinc.php

Source Location: /themes/smartyplugins/function.moduleinc.php



Page Details:

Smarty plugin



Tags:

filesource:  Source Code for this file








smarty_function_moduleinc [line 21]

void smarty_function_moduleinc( array $pParams, &$gBitSmarty, string $pParams['module_rsrc'], integer $pParams['cache_time'])

moduleinc

Usage: add to the body of any .tpl file Example: {inlinemodule file="_custom:custom/my_custom_module" cache_time=600}

Note: currently only supports custom modules generated in themes package, could support any module with more work




Parameters

array   $pParams  
string   $pParams['module_rsrc']   the full name of the template, example: _custom:custom/my_custom_module
integer   $pParams['cache_time']   seconds the template will be cached
   &$gBitSmarty  
[ Top ]



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