From fa1b95982a05ca860ada827b9fbdc9def1ac8952 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Wed, 21 Sep 2011 00:15:45 +0200 Subject: Added documentation, an example program and fixed some bugs... --- docu/nd/index/Functions.html | 65 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 docu/nd/index/Functions.html (limited to 'docu/nd/index/Functions.html') diff --git a/docu/nd/index/Functions.html b/docu/nd/index/Functions.html new file mode 100644 index 0000000..0420685 --- /dev/null +++ b/docu/nd/index/Functions.html @@ -0,0 +1,65 @@ + + +Function Index + + + + + + + + + +
Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 __construct
C
 call_tag, STECore
E
 evalbool, STECore
 exectemplate, STECore
G
 get_var_by_name, STECore
 get_var_reference, STECore
L
 load
P
 parse, ste
R
 register_tag, STECore
S
 save, StorageAccess
T
 transcompile, ste
+ +
public function __construct($src,
$transc)
public function __construct($storage_access)
+ + + +
public function call_tag($name,
$params,
$sub)
Calling a custom tag (builtin ones can not be called)
+ + + +
public function evalbool($txt)
Test, if a text represents false (an empty / only whitespace text) or true (everything else).
public function exectemplate($tpl)
Executes a template and returns the result.
+ + + +
public function get_var_by_name($name)
Get a template variable by its name.
public function &get_var_reference($name,
$create_if_not_exist)
Get a reference to a template variable using a variable name.
+ + + +
public function load($tpl,  
$quiet = False)
Load a template and return its result (blocks not included, use exectemplate for this).
public function load($tpl,
&$mode)
Loading a template.
+ + + +
function parse($code)
Parsing a STE T/PL template.
+ + + +
public function register_tag($name,
$callback)
Register a custom tag.
+ + + +
public function save($tpl,
$data,
$mode)
Saves a template.
+ + + +
function transcompile($ast) /* Transcompile and add some boilerplate code. */
Transcompiles an abstract syntax tree to PHP.
+ +
+ + + + + + + + +
Close
+ + + \ No newline at end of file -- cgit v1.2.3-54-g00ecf