/[cvs]/nfo/php/libs/org.netfrag.glib/Application/Config.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/Application/Config.php

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

revision 1.1 by joko, Mon Feb 3 03:51:36 2003 UTC revision 1.2 by joko, Mon Feb 3 04:59:29 2003 UTC
# Line 3  Line 3 
3  //  $Id$  //  $Id$
4  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
5  //  $Log$  //  $Log$
6    //  Revision 1.2  2003/02/03 04:59:29  joko
7    //  + fixed: constructor can now get passed variable of *any type*
8    //
9  //  Revision 1.1  2003/02/03 03:51:36  joko  //  Revision 1.1  2003/02/03 03:51:36  joko
10  //  + initial commit  //  + initial commit
11  //  //
# Line 11  Line 14 
14    
15  /*  /*
16    
17    How to use this?    ------------------------------------------------------------
18        How to use this?
19      ------------------------------------------------------------
20    
21      require_once("../etc/defaults.php");      require_once("../etc/defaults.php");
22      require_once("../etc/includes.php");      require_once("../etc/includes.php");
# Line 19  Line 24 
24      $appConfig = mkObject('Application::Config');      $appConfig = mkObject('Application::Config');
25      print "appConfig:<br/>" . Dumper($appConfig) . "<hr/>";      print "appConfig:<br/>" . Dumper($appConfig) . "<hr/>";
26    
27      ------------------------------------------------------------
28    
29  */  */
30    
31  class Application_Config {  class Application_Config {
32    function Application_Config($initCfg = array()) {    
33      print "Hello World!<hr/>";    var $_store;
34      print "initCfg:<br/>" . Dumper($initCfg) . "<hr/>";    
35      function Application_Config($initCfg = null) {
36        //print "Hello World!<hr/>";
37        //print "initCfg:<br/>" . Dumper($initCfg) . "<hr/>";
38        $this->_store = $initCfg;
39    }    }
40  }  }
41    

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

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