--- nfo/php/libs/org.netfrag.flib/Site.php 2002/11/12 05:42:30 1.1 +++ nfo/php/libs/org.netfrag.flib/Site.php 2002/12/19 06:17:32 1.3 @@ -1,8 +1,15 @@ _init_logger(); $this->_init_helpers(); $this->_init_application(); - //$this->_init_database(); + $this->_init_database(); + $this->_init_smarty(); + $this->_init_lt(); } // Dispatchers for all subobjects @@ -88,6 +97,14 @@ return $this->request->getRequest(); } + function getLastRequest() { + return $this->request->getCached(); + } + + function cacheRequest($request = array()) { + return $this->request->cacheRequest($request); + } + // dispatchers for Loader function &loadHandler($a) { return $this->loader->loadHandler($a); @@ -95,6 +112,9 @@ function &loadPage($a) { return $this->loader->loadPage($a); } + function &loadTemplate($a, $b = array(), $c = "") { + return $this->loader->loadTemplate($a, $b, $c); + } // dispatchers for Http function &redirect($a) {