modules AS $object) { $module = get_class($object); if (method_exists($object, 'init_as_package') AND in_array($module, $modules)) { $module = $object->init_as_package() . " - ($module)"; } $modules[] = $module; } if ($return) { return $modules; } else { $output = "\n\n\n\n"; $this->message('Loaded Modules', $output, 1); } } // ################################################################### /** * Constructs a debug information box that contains various debugging * information points * * @param bool Show template information? * * @return string Debugging block */ public function construct_debug_block($dotemplates) { $debug = ''; if ($this->debug) { $debug = "\n"; $debug = "\n\n\n
\n\n
\n" . $this->message('Debug Information', $debug, 1, true, false) . "\n
\n\n\n"; } return $debug; } } /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>