Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_view_Tpl
  • Overview
  • Package
  • Class

Class icms_view_Tpl

Template engine

Smarty
Extended by icms_view_Tpl
Package: View\Templates
Category: ICMS
Copyright: Copyright (c) 2000 XOOPS.org
License: LICENSE.txt
Author: Kazumi Ono onokazu@xoops.org
Located at view/Tpl.php
Methods summary
public
# __construct( )
public string
# fetchFromData( string $tplSource, boolean $display = false, $vars = null )

Renders output from template data

Renders output from template data

Parameters

$tplSource
$data The template to render
$display
If rendered text should be output or returned
$vars

Returns

string
Rendered output if $display was false
public string
# touch( string $resourceName )

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

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

Parameters

$resourceName
Resourcename to touch

Returns

string
$result Was the resource recompiled
public static boolean
# template_touch( string $tpl_id )

function to update compiled template file in templates_c folder

function to update compiled template file in templates_c folder

The proper way to use this would be icms_view_Tpl::template_touch($tplid);

Parameters

$tpl_id

Returns

boolean
public static
# template_clear_module_cache( integer $mid )

Clear the module cache

Clear the module cache

The proper way to use this would be icms_view_Tpl::template_clear_module_cache($tplid);

Parameters

$mid
Module ID

Returns

Properties summary
public string $left_delimiter
# '<{'
public string $right_delimiter
# '}>'
public $template_dir
# ICMS_THEME_PATH
public $cache_dir
# ICMS_CACHE_PATH
public $compile_dir
# ICMS_COMPILE_PATH
API documentation generated by ApiGen