--- nfo/php/libs/org.netfrag.glib/Application/Core.php 2003/03/03 21:11:01 1.4 +++ nfo/php/libs/org.netfrag.glib/Application/Core.php 2003/03/05 23:16:47 1.5 @@ -1,8 +1,21 @@ + * @package org.netfrag.glib + * @name Application::Core + * + */ + + // --------------------------------------------------------------------------- -// $Id: Core.php,v 1.4 2003/03/03 21:11:01 joko Exp $ +// $Id: Core.php,v 1.5 2003/03/05 23:16:47 joko Exp $ // --------------------------------------------------------------------------- // $Log: Core.php,v $ +// Revision 1.5 2003/03/05 23:16:47 joko +// updated docu - phpDocumentor is very strict about its 'blocks'... +// // Revision 1.4 2003/03/03 21:11:01 joko // mungled the namespaces // @@ -20,42 +33,48 @@ // --------------------------------------------------------------------------- -/* +$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(); +$app = mkObject('Application::Core', $appConfig); +$app->run(); - ------------------------------------------------------------ - -*/ loadModule('Class::Logger'); + +/** + * This is the Application::Core module. + * + * 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' ), + * ), + * ), + * ); + * + * + * + * @author Andreas Motl + * @package org.netfrag.glib + * @subpackage Application + * @name Application::AbstractBase + * + */ class Application_Core extends Class_Logger { var $_config;