[XTemplate] element index

Package indexes

All elements
a b c d f g i m o p r s t v w x _
_
top
$_autoreset
XTemplate::$_autoreset in xtemplate.class.php
Auto-reset sub blocks
$_error
XTemplate::$_error in xtemplate.class.php
Errors
$_ignore_missing_blocks
XTemplate::$_ignore_missing_blocks in xtemplate.class.php
Set to FALSE to generate errors if a non-existant blocks is referenced
$_null_block
XTemplate::$_null_block in xtemplate.class.php
Null string for unassigned blocks
$_null_string
XTemplate::$_null_string in xtemplate.class.php
Null string for unassigned vars
_getfile
XTemplate::_getfile() in xtemplate.class.php
returns the contents of a file
_maketree
XTemplate::_maketree() in xtemplate.class.php
generates the array containing to-be-parsed stuff: $blocks["main"],$blocks["main.table"],$blocks["main.table.row"], etc.
_r_getfile
XTemplate::_r_getfile() in xtemplate.class.php
recursively gets the content of a file with {FILE "filename.tpl"} directives
_store_filevar_parents
store container block's name for file variables
__construct
XTemplate::__construct() in xtemplate.class.php
PHP 5 Constructor - Instantiate the object
__construct
CachingXTemplate::__construct() in caching_xtemplate.class.php
Override of parent constructor
a
top
array_loop
XTemplate::array_loop() in xtemplate.class.php
parses a block for every set of data in the values array
assign
XTemplate::assign() in xtemplate.class.php
assign a variable
assign_file
XTemplate::assign_file() in xtemplate.class.php
assign a file variable
assign
CachingXTemplate::assign() in caching_xtemplate.class.php
Override of parent assign method
assign_file
CachingXTemplate::assign_file() in caching_xtemplate.class.php
Override of parent assign_file method
b
top
$blocks
XTemplate::$blocks in xtemplate.class.php
Unparsed blocks
$block_end_delim
XTemplate::$block_end_delim in xtemplate.class.php
Template block end delimiter
$block_end_word
XTemplate::$block_end_word in xtemplate.class.php
Template block end word
$block_parse_order
XTemplate::$block_parse_order in xtemplate.class.php
Block parsing order for recursive parsing (Sometimes reverse :)
$block_start_delim
XTemplate::$block_start_delim in xtemplate.class.php
Template block start delimiter
$block_start_word
XTemplate::$block_start_word in xtemplate.class.php
Template block start word
c
top
$comment_preg
XTemplate::$comment_preg in xtemplate.class.php
Regular expression element for comments within tags and blocks
clear_autoreset
XTemplate::clear_autoreset() in xtemplate.class.php
sets AUTORESET to 0. (default is 1) if set to 1, parse() automatically resets the parsed blocks' sub blocks (for multiple level blocks)
$cache_dir
CachingXTemplate::$cache_dir in caching_xtemplate.class.php
Path to cache dir Needs to be writable by webserver
$cache_expiry
CachingXTemplate::$cache_expiry in caching_xtemplate.class.php
Cache expiry time (seconds)
$cache_ext
CachingXTemplate::$cache_ext in caching_xtemplate.class.php
Filename extension
$cache_unique
CachingXTemplate::$cache_unique in caching_xtemplate.class.php
Cache file unique identifier
CachingXTemplate
CachingXTemplate in caching_xtemplate.class.php
CachingXTemplate Extension to XTemplate to provide block level and whole template caching facilities Needs Web server writable directory
caching_xtemplate.class.php
caching_xtemplate.class.php in caching_xtemplate.class.php
d
top
$debug
XTemplate::$debug in xtemplate.class.php
Debug mode
f
top
$filecache
XTemplate::$filecache in xtemplate.class.php
File caching during duration of script e.g. files only cached to speed {FILE "filename"} repeats
$filecontents
XTemplate::$filecontents in xtemplate.class.php
Raw contents of the template file
$filename
XTemplate::$filename in xtemplate.class.php
Template filename
$files
XTemplate::$files in xtemplate.class.php
Filenames lookup table
$filevars
XTemplate::$filevars in xtemplate.class.php
File variables array
$filevar_delim
XTemplate::$filevar_delim in xtemplate.class.php
RegEx for file include variable
$filevar_delim_nl
XTemplate::$filevar_delim_nl in xtemplate.class.php
RegEx for file includes with newlines
$filevar_parent
XTemplate::$filevar_parent in xtemplate.class.php
Filevars' parent block
$file_delim
XTemplate::$file_delim in xtemplate.class.php
RegEx for file includes
g
top
get_error
XTemplate::get_error() in xtemplate.class.php
gets error condition / string
i
top
insert_loop
XTemplate::insert_loop() in xtemplate.class.php
inserts a loop ( call assign & parse )
m
top
$mainblock
XTemplate::$mainblock in xtemplate.class.php
Default main template block name
o
top
$output_type
XTemplate::$output_type in xtemplate.class.php
Script output type
out
XTemplate::out() in xtemplate.class.php
prints the parsed text
out_file
XTemplate::out_file() in xtemplate.class.php
prints the parsed text to a specified file
p
top
$parsed_blocks
XTemplate::$parsed_blocks in xtemplate.class.php
Parsed blocks
$preparsed_blocks
XTemplate::$preparsed_blocks in xtemplate.class.php
Preparsed blocks (for file includes)
parse
XTemplate::parse() in xtemplate.class.php
parse a block
parsed
XTemplate::parsed() in xtemplate.class.php
returns true if block was parsed, false if not
parse
CachingXTemplate::parse() in caching_xtemplate.class.php
Override of parent parse method
r
top
reset
XTemplate::reset() in xtemplate.class.php
resets the parsed text
restart
XTemplate::restart() in xtemplate.class.php
Restart the class - allows one instantiation with several files processed by restarting
rparse
XTemplate::rparse() in xtemplate.class.php
returns the parsed text for a block, including all sub-blocks.
read_block_cache
CachingXTemplate::read_block_cache() in caching_xtemplate.class.php
Read block level cache file
read_template_cache
CachingXTemplate::read_template_cache() in caching_xtemplate.class.php
Read whole template cache file
restart
CachingXTemplate::restart() in caching_xtemplate.class.php
Override of parent restart method
s
top
$sub_blocks
XTemplate::$sub_blocks in xtemplate.class.php
Store sub-block names (For fast resetting)
scan_globals
XTemplate::scan_globals() in xtemplate.class.php
scans global variables and assigns to PHP array
SetNullBlock
XTemplate::SetNullBlock() in xtemplate.class.php
Backwards compatibility only
SetNullString
XTemplate::SetNullString() in xtemplate.class.php
Backwards compatibility only
setup
XTemplate::setup() in xtemplate.class.php
setup - the elements that were previously in the constructor
set_autoreset
XTemplate::set_autoreset() in xtemplate.class.php
sets AUTORESET to 1. (default is 1) if set to 1, parse() automatically resets the parsed blocks' sub blocks (for multiple level blocks)
set_null_block
XTemplate::set_null_block() in xtemplate.class.php
sets the string to replace in case the block was not parsed
set_null_string
XTemplate::set_null_string() in xtemplate.class.php
sets the string to replace in case the var was not assigned
t
top
$tag_end_delim
XTemplate::$tag_end_delim in xtemplate.class.php
Template tag end delimiter
$tag_start_delim
XTemplate::$tag_start_delim in xtemplate.class.php
Template tag start delimiter
$tpldir
XTemplate::$tpldir in xtemplate.class.php
Location of template files
text
XTemplate::text() in xtemplate.class.php
returns the parsed text for a block
text
CachingXTemplate::text() in caching_xtemplate.class.php
Override of parent text method
v
top
$vars
XTemplate::$vars in xtemplate.class.php
Variables array
w
top
write_block_cache
CachingXTemplate::write_block_cache() in caching_xtemplate.class.php
Write out block level cache file
write_template_cache
CachingXTemplate::write_template_cache() in caching_xtemplate.class.php
Write out whole template cache file
x
top
XTemplate
XTemplate::XTemplate() in xtemplate.class.php
PHP 4 Constructor - Instantiate the object
XTemplate
XTemplate in xtemplate.class.php
XTemplate PHP templating engine
xtemplate.class.php
xtemplate.class.php in xtemplate.class.php
a b c d f g i m o p r s t v w x _