Stud.IP  2.5 Revision
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 (   $filename)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ finish()

finish (   $str)
Here is the caller graph for this function:

◆ get()

get (   $varname)
Here is the call graph for this function:

◆ get_undefined()

get_undefined (   $handle)
Here is the call graph for this function:

◆ get_var()

get_var (   $varname)
Here is the caller graph for this function:

◆ get_vars()

get_vars ( )

◆ halt()

halt (   $msg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ haltmsg()

haltmsg (   $msg)
Here is the caller graph for this function:

◆ loadfile()

loadfile (   $handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ p()

p (   $varname)
Here is the call graph for this function:

◆ parse()

parse (   $target,
  $handle,
  $append = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pparse()

pparse (   $target,
  $handle,
  $append = false 
)
Here is the call graph for this function:

◆ psubst()

psubst (   $handle)
Here is the call graph for this function:

◆ set_block()

set_block (   $parent,
  $handle,
  $name = "" 
)
Here is the call graph for this function:

◆ set_file()

set_file (   $handle,
  $filename = "" 
)
Here is the call graph for this function:

◆ set_root()

set_root (   $root)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_unknowns()

set_unknowns (   $unknowns = "keep")
Here is the caller graph for this function:

◆ set_var()

set_var (   $varname,
  $value = "" 
)
Here is the caller graph for this function:

◆ subst()

subst (   $handle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Template()

Template (   $root = ".",
  $unknowns = "remove" 
)
Here is the call graph for this function:

◆ varname()

varname (   $varname)

Field Documentation

◆ $classname

$classname = "Template"

◆ $debug

◆ $file

$file = array()

◆ $halt_on_error

$halt_on_error = "yes"

◆ $last_error

$last_error = ""

◆ $root

$root = ""

◆ $unknowns

$unknowns = "remove"

◆ $varkeys

$varkeys = array()

◆ $varvals

$varvals = array()

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