Properties

$libdir

$libdir : 

Type

$_parser

$_parser : 

Type

$list_hash

$list_hash : 

Type

$link_hash

$link_hash : 

Type

$get_hash

$get_hash : 

Type

$get_table_hash

$get_table_hash : 

Type

$find_hash

$find_hash : 

Type

$pack_hash

$pack_hash : 

Type

$libname

$libname : 

Type

Methods

ESPCMS_Templates()

ESPCMS_Templates(  $html_compile_dir = null,   $templatescache_dir = null,   $dbcache_dir = null,   $photo_dir = null,   $templates_path_dir = null,   $templates_themss_dirname = null,   $templatesfileex = '.html',   $left_delimiter = '[%',   $right_delimiter = '%]') 

Parameters

$html_compile_dir
$templatescache_dir
$dbcache_dir
$photo_dir
$templates_path_dir
$templates_themss_dirname
$templatesfileex
$left_delimiter
$right_delimiter

into()

into(  $var,   $value) 

Parameters

$var
$value

geto()

geto(  $var) 

Parameters

$var

output()

output(  $templates_filenames,   $cache_fileid = null,   $isceart_html = false,   $htm_filename = false,   $xml_filename = null) 

Parameters

$templates_filenames
$cache_fileid
$isceart_html
$htm_filename
$xml_filename

fetch()

fetch(  $fetch_filename,   $cache_fileid = null,   $out_html = null,   $ispack = false) 

Parameters

$fetch_filename
$cache_fileid
$out_html
$ispack

clearcache()

clearcache(  $cache_file = null,   $cache_ID = null,   $iswap = false) 

Parameters

$cache_file
$cache_ID
$iswap

clearpic()

clearpic(  $iswap = false) 

Parameters

$iswap

cleartemplates()

cleartemplates(  $iswap = false) 

Parameters

$iswap

power()

power(  $funtionname = null) 

Parameters

$funtionname

isadmin()

isadmin() 

format_size()

format_size(  $size,   $type) 

Parameters

$size
$type

checkvol()

checkvol(  $volarray = null,   $vol = null) 

Parameters

$volarray
$vol

format_js()

format_js(  $str) 

Parameters

$str

insert_pack_mod()

insert_pack_mod(  $message_code,   $packclass) 

Parameters

$message_code
$packclass

list_mod()

list_mod(  $name) 

Parameters

$name

insert_get_mod()

insert_get_mod(  $name,   $template) 

Parameters

$name
$template

insert_find_mod()

insert_find_mod(  $findmodel,   $findclass,   $findfiled) 

Parameters

$findmodel
$findclass
$findfiled

gettemprequire()

gettemprequire(  $outHTML) 

Parameters

$outHTML

cachefilewrite()

cachefilewrite(  $fileName,   $content,   $type = "wb+") 

Parameters

$fileName
$content
$type

temprequire()

temprequire(  $filename) 

Parameters

$filename

tempcachesave()

tempcachesave(  $fetch_filename,   $cache_fileid = null,   $renewid = true) 

Parameters

$fetch_filename
$cache_fileid
$renewid

tempcheckcache()

tempcheckcache(  $fetch_filename,   $cache_fileid = null,   $cache_fase = false) 

Parameters

$fetch_filename
$cache_fileid
$cache_fase

imp()

imp(  $str,   $type = '/') 

Parameters

$str
$type

getMimeType()

getMimeType(  $file) 

Parameters

$file

mime()

mime(  $file) 

Parameters

$file