guiGUI
Initialize the Smarty template engine and provide methods to access it. Discover and prepare themes and initialize gettext for localization.
Located in /lib/gui.class.php (line 49)
session | --gui
| Class | Description |
|---|---|
dbc
|
StockManiac Database Connection (DBC) |
void
register_object
(string $name, &$obj, [array $allowed_methods = null], [bool $new_params_style = true], object $obj)
object
$themes
(line 62)
internal themes object, to be used by child classes
object
$_smarty
(line 56)
internal smarty object
Inherited from session
session::$err
Constructor __construct (line 75)
Constructor
append (line 179)
wrapper around native Smarty method.
assign (line 144)
wrapper around native Smarty method.
debug (line 250)
Print content any type of variable using print_r() for debugging.
Accept var1, var2, ..., varN as input. You may pass as many parameters as you like.
ATTENTION: the package building tools look for calls on this method and will issue a warning. All sich calls should be removed before any final release! Just for the sake of security....
display (line 189)
wrapper around native Smarty method.
get_microtime (line 266)
Return microtime as of now.
Useful for debugging performance issues.
get_template_vars (line 167)
wrapper around native Smarty method.
get_themes (line 204)
Return array of all known themes.
register_object (line 157)
wrapper around native Smarty method.
set_default_theme (line 214)
Set default theme to be used.
Inherited From session
session::__construct()
session::sess_destroy()
session::sess_exists()
session::sess_get_var()
session::sess_store_var()
session::sess_unset_var()
Documentation generated on Sun, 22 Aug 2010 11:20:19 +0200 by phpDocumentor 1.4.3