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

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

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

revision 1.4 by joko, Mon Mar 3 21:11:01 2003 UTC revision 1.6 by joko, Mon Mar 10 22:58:48 2003 UTC
# Line 1  Line 1 
1  <?  <?
2    /**
3     * This file contains the Application::Core module.
4     *
5     * @author Andreas Motl <andreas.motl@ilo.de>
6     * @package org.netfrag.glib
7     * @name Application::Core
8     *
9     */
10    
11    
12  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
13  //  $Id$  //  $Id$
14  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
15  //  $Log$  //  $Log$
16    //  Revision 1.6  2003/03/10 22:58:48  joko
17    //  + fixed metadata for phpDocumentor
18    //
19    //  Revision 1.5  2003/03/05 23:16:47  joko
20    //  updated docu - phpDocumentor is very strict about its 'blocks'...
21    //
22  //  Revision 1.4  2003/03/03 21:11:01  joko  //  Revision 1.4  2003/03/03 21:11:01  joko
23  //  mungled the namespaces  //  mungled the namespaces
24  //  //
# Line 20  Line 36 
36  // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
37    
38    
39  /*  $appConfig = mkObject('Application::Config', $init);
   
   ------------------------------------------------------------  
     How to use this?  
   ------------------------------------------------------------  
   
     require_once("../etc/defaults.php");  
     require_once("../etc/includes.php");  
       
     $init =  
       array(  
         'machine' => 'grasshopper',  
         'appname' => 'pub',  
         'resources' => array(  
           'machines' => '../etc/machines.php',  
         ),  
         'run' => array(  
           'boot' => array(  
             'scripts' => array( '../core/boot/boot.php' ),  
             //'objects' => array(),  
             'methods' => array( 'e_init', 'e_start', 'e_shutdown' ),  
           ),  
         ),  
       );  
       
     $appConfig = mkObject('Application::Config', $init);  
       
     $app = mkObject('Application::Core', $appConfig);  
     $app->run();  
40    
41    ------------------------------------------------------------  $app = mkObject('Application::Core', $appConfig);
42    $app->run();
43    
 */  
44    
45  loadModule('Class::Logger');  loadModule('Class::Logger');
46    
47    
48    /**
49     * This is the Application::Core module.
50     *
51     * How to use this?
52     *
53     * <code>
54     * require_once("../etc/defaults.php");
55     * require_once("../etc/includes.php");
56     *
57     * $init =
58     *   array(
59     *     'machine' => 'grasshopper',
60     *     'appname' => 'pub',
61     *     'resources' => array(
62     *       'machines' => '../etc/machines.php',
63     *     ),
64     *     'run' => array(
65     *       'boot' => array(
66     *         'scripts' => array( '../core/boot/boot.php' ),
67     *         //'objects' => array(),
68     *         'methods' => array( 'e_init', 'e_start', 'e_shutdown' ),
69     *       ),
70     *     ),
71     *   );
72     * </code>
73     *
74     *
75     * @author Andreas Motl <andreas.motl@ilo.de>
76     * @package org.netfrag.glib
77     * @subpackage Application
78     * @name Application::Core
79     *
80     */
81  class Application_Core extends Class_Logger {  class Application_Core extends Class_Logger {
82        
83    var $_config;    var $_config;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

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