XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
template.php File Reference

Go to the source code of this file.

Classes

class  XoopsTpl
 

Namespaces

namespace  kernel
 

Functions

 xoops_template_clear_module_cache ($mid)
 
 xoops_template_touch ($tpl_id, $clear_old=true)
 

Variables

const SMARTY_DIR XOOPS_ROOT_PATH . '/class/smarty/'
 

Function Documentation

xoops_template_clear_module_cache (   $mid)

Clear the module cache

Parameters
int$midModule ID
Returns

Definition at line 259 of file template.php.

References $i, $mid, $xoopsTpl, and XoopsBlock\getByModule().

Referenced by xoops_module_activate(), xoops_module_deactivate(), xoops_module_install(), and xoops_module_uninstall().

Here is the call graph for this function:

Here is the caller graph for this function:

xoops_template_touch (   $tpl_id,
  $clear_old = true 
)

function to update compiled template file in templates_c folder

Parameters
string$tpl_id
boolean$clear_old
Returns
boolean

Definition at line 240 of file template.php.

References $file, $tpl, and xoops_gethandler().

Referenced by xoops_module_install().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const SMARTY_DIR XOOPS_ROOT_PATH . '/class/smarty/'