Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
Template Class Reference
Collaboration diagram for Template:
Collaboration graph

Public Member Functions

 Template ($root=".", $unknowns="remove")
 set_root ($root)
 set_unknowns ($unknowns="keep")
 set_file ($handle, $filename="")
 set_block ($parent, $handle, $name="")
 set_var ($varname, $value="")
 subst ($handle)
 psubst ($handle)
 parse ($target, $handle, $append=false)
 pparse ($target, $handle, $append=false)
 get_vars ()
 get_var ($varname)
 get_undefined ($handle)
 finish ($str)
 p ($varname)
 get ($varname)
 filename ($filename)
 varname ($varname)
 loadfile ($handle)
 halt ($msg)
 haltmsg ($msg)

Data Fields

 $classname = "Template"
 $debug = false
 $file = array()
 $root = ""
 $varkeys = array()
 $varvals = array()
 $unknowns = "remove"
 $halt_on_error = "yes"
 $last_error = ""

Member Function Documentation

filename (   $filename)

Here is the call graph for this function:

Here is the caller graph for this function:

finish (   $str)

Here is the caller graph for this function:

get (   $varname)

Here is the call graph for this function:

get_undefined (   $handle)

Here is the call graph for this function:

get_var (   $varname)

Here is the caller graph for this function:

get_vars ( )
halt (   $msg)

Here is the call graph for this function:

Here is the caller graph for this function:

haltmsg (   $msg)

Here is the caller graph for this function:

loadfile (   $handle)

Here is the call graph for this function:

Here is the caller graph for this function:

p (   $varname)

Here is the call graph for this function:

parse (   $target,
  $handle,
  $append = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

pparse (   $target,
  $handle,
  $append = false 
)

Here is the call graph for this function:

psubst (   $handle)

Here is the call graph for this function:

set_block (   $parent,
  $handle,
  $name = "" 
)

Here is the call graph for this function:

set_file (   $handle,
  $filename = "" 
)

Here is the call graph for this function:

set_root (   $root)

Here is the call graph for this function:

Here is the caller graph for this function:

set_unknowns (   $unknowns = "keep")

Here is the caller graph for this function:

set_var (   $varname,
  $value = "" 
)

Here is the caller graph for this function:

subst (   $handle)

Here is the call graph for this function:

Here is the caller graph for this function:

Template (   $root = ".",
  $unknowns = "remove" 
)

Here is the call graph for this function:

varname (   $varname)

Field Documentation

$classname = "Template"
$file = array()
$halt_on_error = "yes"
$last_error = ""
$root = ""
$unknowns = "remove"
$varkeys = array()
$varvals = array()

The documentation for this class was generated from the following file: