]> git.mxchange.org Git - hub.git/blobdiff - inc/classes/main/debug/class_DebugErrorLogOutput.php
interfaces OutputStreamer implemented in all debuggers
[hub.git] / inc / classes / main / debug / class_DebugErrorLogOutput.php
index 2897e948f526d0c761d16f5d1902848e7d17fd0d..2afc3737bc22870ae70b336963a36752418b2b17 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger {
+class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
        /**
         * Private constructor
         *
@@ -69,6 +69,29 @@ class DebugErrorLogOutput extends BaseFrameworkSystem implements Debugger {
                        }
                }
        }
+
+       /**
+        * Assigns a variable for output
+        *
+        * @param               $var            The variable we shall assign
+        * @param               $value  The value to store in the variable
+        * @return      void
+        */
+       function assignVariable ($var, $value) {
+               // Empty stub!
+               trigger_error(__METHOD__.": Stub!");
+       }
+
+       /**
+        * Output the code
+        *
+        * @return      void
+        */
+       function output ($outStream=false) {
+               if ($outStream !== false) {
+                       $this->outputStream($outStream);
+               }
+       }
 }
 
 // [EOF]