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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Mon Feb 3 04:59:29 2003 UTC (21 years, 6 months ago) by joko
Branch: MAIN
Changes since 1.1: +17 -6 lines
+ fixed: constructor can now get passed variable of *any type*

1 <?
2 // ---------------------------------------------------------------------------
3 // $Id: Config.php,v 1.1 2003/02/03 03:51:36 joko Exp $
4 // ---------------------------------------------------------------------------
5 // $Log: Config.php,v $
6 // Revision 1.1 2003/02/03 03:51:36 joko
7 // + initial commit
8 //
9 // ---------------------------------------------------------------------------
10
11
12 /*
13
14 ------------------------------------------------------------
15 How to use this?
16 ------------------------------------------------------------
17
18 require_once("../etc/defaults.php");
19 require_once("../etc/includes.php");
20
21 $appConfig = mkObject('Application::Config');
22 print "appConfig:<br/>" . Dumper($appConfig) . "<hr/>";
23
24 ------------------------------------------------------------
25
26 */
27
28 class Application_Config {
29
30 var $_store;
31
32 function Application_Config($initCfg = null) {
33 //print "Hello World!<hr/>";
34 //print "initCfg:<br/>" . Dumper($initCfg) . "<hr/>";
35 $this->_store = $initCfg;
36 }
37 }
38
39 ?>

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