CodeCharge Studio

Tpl Variable (PHP)

Applies to

Page Context

Type

object

Access

read-only

Syntax

global $Tpl;
$Tpl->...

Description

This variable represents the template file for the current page. It can be used to handle custom template variables ({tag_name}) and template blocks.

Examples

global $Tpl;
  $Tpl->SetVar("tag_name",$value);

Other examples

Working with Custom Template Blocks


On-line, printable versions and updates