]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/class_BaseFrameworkSystem.php
TemplateEngine is known as WebTemplateEngine (most parts are in BasTemplateEngine...
[shipsimu.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 3b0a939c50725eee298d4335a61265863ecb4537..132d5bead183dfded68bd84dbbf9eec2ce96f3f3 100644 (file)
@@ -256,9 +256,12 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                                } elseif (is_null($arg)) {
                                        // Null
                                        $argsString .= "(null)";
+                               } elseif (is_resource($arg)) {
+                                       // Resource
+                                       $argsString .= "(resource)";
                                } else {
                                        // Unknown type (please report!)
-                                       $argsString .= $arg."(unknown!)";
+                                       $argsString .= $arg."(<em>unknown!</em>)";
                                }
 
                                // Add comma
@@ -266,7 +269,9 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                        }
 
                        // Remove last comma
-                       if (substr($argsString, -2, 1) === ",") $argsString = substr($argsString, 0, -2);
+                       if (substr($argsString, -2, 1) === ",") {
+                               $argsString = substr($argsString, 0, -2);
+                       } // END - if
                } else {
                        // Invalid arguments!
                        $argsString = sprintf("!INVALID:%s!", $args);
@@ -880,7 +885,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
        }
 
        /**
-        * Prepare the template engine (TemplateEngine by default) for a given
+        * Prepare the template engine (WebTemplateEngine by default) for a given
         * application helper instance (ApplicationHelper by default).
         *
         * @param               $appInstance                    An application helper instance or