PHP Class SlightPHP\Tpl

显示文件 Open project: hetao29/slightphp Class Usage Examples

Public Properties

Property Type Description
$_tpl_vars
$compile_dir
$force_compile
$left_delimiter
$right_delimiter
$safe_mode
$template_dir

Public Methods

Method Description
assign ( $tpl_var, $value = null )
fetch ( $tpl )

Private Methods

Method Description
_compile ( $content )
_match ( $matches )
_matchfunction ( $function )
_matchmodifier ( $modifier )
_tmpData ( $matches )

Method Details

assign() static public method

static public assign ( $tpl_var, $value = null )

fetch() static public method

static public fetch ( $tpl )

Property Details

$_tpl_vars static_oe public_oe property

static public $_tpl_vars

$compile_dir static_oe public_oe property

static public $compile_dir

$force_compile static_oe public_oe property

static public $force_compile

$left_delimiter static_oe public_oe property

static public $left_delimiter

$right_delimiter static_oe public_oe property

static public $right_delimiter

$safe_mode static_oe public_oe property

static public $safe_mode

$template_dir static_oe public_oe property

static public $template_dir