Skip to content

icms_view_Tpl

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

icms_view_Tpl

Template engine

  • Class name: icms_view_Tpl
  • Namespace:
  • Parent class: Smarty

Properties

$left_delimiter

public mixed $left_delimiter = <{
  • Visibility: public

$right_delimiter

public mixed $right_delimiter = }>
  • Visibility: public

$template_dir

public mixed $template_dir = \ICMS_THEME_PATH
  • Visibility: public

$cache_dir

public mixed $cache_dir = \ICMS_CACHE_PATH
  • Visibility: public

$compile_dir

public mixed $compile_dir = \ICMS_COMPILE_PATH
  • Visibility: public

Methods

__construct

mixed icms_view_Tpl::__construct()
  • Visibility: public

fetchFromData

string icms_view_Tpl::fetchFromData(mixed tplSource, bool display, mixed vars)

Renders output from template data

  • Visibility: public

Arguments

  • tplSource mixed
  • display bool - <p>If rendered text should be output or returned</p>
  • vars mixed

touch

string icms_view_Tpl::touch(mixed resourceName)

Touch the resource (file) which means get it to recompile the resource

  • Visibility: public

Arguments

  • resourceName mixed

template_touch

bool icms_view_Tpl::template_touch(string tpl_id)

Touch template by id

  • Visibility: public
  • This method is static.

Arguments

  • tpl_id string

template_clear_module_cache

mixed icms_view_Tpl::template_clear_module_cache(int mid)

Clear the module cache

  • Visibility: public
  • This method is static.

Arguments

  • mid int - <p>Module ID</p>
Clone this wiki locally