* 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 DebugConsoleOutput extends BaseFrameworkSystem implements Debugger {
+class DebugConsoleOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
/**
* Private constructor
*
public final function outputStream ($output) {
print html_entity_decode(strip_tags($output));
}
+
+ /**
+ * Assigns a variable for output
+ *
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
+ * @return void
+ */
+ public final function assignVariable ($var, $value) {
+ // Empty stub!
+ trigger_error(__METHOD__.": Stub!");
+ }
+
+ /**
+ * Output the code
+ *
+ * @return void
+ */
+ public final function output ($outStream=false) {
+ // Empty output will be silently ignored
+ if ($outStream !== false) {
+ $this->outputStream($outStream);
+ }
+ }
}
// [EOF]
* 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
*
}
}
}
+
+ /**
+ * Assigns a variable for output
+ *
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
+ * @return void
+ */
+ public final function assignVariable ($var, $value) {
+ // Empty stub!
+ trigger_error(__METHOD__.": Stub!");
+ }
+
+ /**
+ * Output the code
+ *
+ * @return void
+ */
+ public final function output ($outStream=false) {
+ // Empty output will be silently ignored
+ if ($outStream !== false) {
+ $this->outputStream($outStream);
+ }
+ }
}
// [EOF]
* 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 DebugWebOutput extends BaseFrameworkSystem implements Debugger {
+class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
/**
* Private constructor
*
public final function outputStream ($output) {
trigger_error($output);
}
+
+ /**
+ * Assigns a variable for output
+ *
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
+ * @return void
+ */
+ public final function assignVariable ($var, $value) {
+ // Empty stub!
+ trigger_error(__METHOD__.": Stub!");
+ }
+
+ /**
+ * Output the code
+ *
+ * @return void
+ */
+ public final function output ($outStream=false) {
+ // Empty output will be silently ignored
+ if ($outStream !== false) {
+ $this->outputStream($outStream);
+ }
+ }
}
// [EOF]
<?php
/**
- * Prepares a local file datbase
+ * Initializes the local file database class
*
* @author Roland Haeder <webmaster@mxchange.org>
* @version 0.3.0
<?php
/**
- * Load required include files
+ * Loads more include files by using the generic class loader
*
* @author Roland Haeder <webmaster@mxchange.org>
* @version 0.3.0
<?php
/**
- * Prepares the (debug) output system
+ * Initializes the output middleware layer
*
* @author Roland Haeder <webmaster@mxchange.org>
* @version 0.3.0