/[cvs]/nfo/php/libs/org.netfrag.flib/Site.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/Site.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by joko, Tue Nov 12 05:42:30 2002 UTC revision 1.3 by joko, Thu Dec 19 06:17:32 2002 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -------------------------------------------------------------------------------  //    -------------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.3  2002/12/19 06:17:32  joko
7    //    + database, smarty, and langtext (lt) now gets initialized here (on Site startup)
8    //
9    //    Revision 1.2  2002/12/13 09:17:41  joko
10    //    + function getLastRequest
11    //    + function cacheRequest
12    //
13  //    Revision 1.1  2002/11/12 05:42:30  joko  //    Revision 1.1  2002/11/12 05:42:30  joko
14  //    + initial checkin  //    + initial checkin
15  //  //
# Line 56  class Site extends Site_Boot { Line 63  class Site extends Site_Boot {
63      $this->_init_logger();      $this->_init_logger();
64      $this->_init_helpers();      $this->_init_helpers();
65      $this->_init_application();      $this->_init_application();
66      //$this->_init_database();      $this->_init_database();
67        $this->_init_smarty();
68        $this->_init_lt();
69    }    }
70    
71    // Dispatchers for all subobjects    // Dispatchers for all subobjects
# Line 88  class Site extends Site_Boot { Line 97  class Site extends Site_Boot {
97      return $this->request->getRequest();      return $this->request->getRequest();
98    }    }
99    
100      function getLastRequest() {
101        return $this->request->getCached();
102      }
103    
104      function cacheRequest($request = array()) {
105        return $this->request->cacheRequest($request);
106      }
107    
108    // dispatchers for Loader    // dispatchers for Loader
109    function &loadHandler($a) {    function &loadHandler($a) {
110      return $this->loader->loadHandler($a);      return $this->loader->loadHandler($a);
# Line 95  class Site extends Site_Boot { Line 112  class Site extends Site_Boot {
112    function &loadPage($a) {    function &loadPage($a) {
113      return $this->loader->loadPage($a);      return $this->loader->loadPage($a);
114    }    }
115      function &loadTemplate($a, $b = array(), $c = "") {
116        return $this->loader->loadTemplate($a, $b, $c);
117      }
118    
119    // dispatchers for Http    // dispatchers for Http
120    function &redirect($a) {    function &redirect($a) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed