Part II: Developing Intranet Solutions Listing 4-4 (Continued)

Part II: Developing Intranet Solutions Listing 4-4 (Continued) function dump_debuginfo() { global $ON; if (defined( DEBUGGER_LOADED ) && $this->debug_mode == $ON) { $this->debugger->flush_buffer(); } } function debug($msg) { global $ON; if ($this->debug_mode == $ON) { $this->debugger->write($msg); } } function run() { // run the application $this->writeln( You need to override this method. ); } function connect($db_url = null) { if (empty($db_url)) { $db_url = $this->app_db_url; } if (defined( DBI_LOADED ) && ! empty($this->app_db_url)) { $this->dbi = new DBI($db_url); return $this->dbi->connected; } return FALSE; } function disconnect() { $this->dbi->disconnect(); $this->dbi->connected = FALSE;
Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision web and email hosting services

Leave a Reply