1: <?php
2:
3: /**
4: * This file contains the debug interface.
5: *
6: * @package Core
7: * @subpackage Debug
8: *
9: * @author Rudi Bieller
10: * @copyright four for business AG <www.4fb.de>
11: * @license http://www.contenido.org/license/LIZENZ.txt
12: * @link http://www.4fb.de
13: * @link http://www.contenido.org
14: */
15:
16: defined('CON_FRAMEWORK') || die('Illegal call: Missing framework initialization - request aborted.');
17:
18: /**
19: * Debug interface.
20: * Can be extended to a visible, invisible, logged, ...
21: *
22: * @package Core
23: * @subpackage Debug
24: */
25: interface cDebugInterface {
26:
27: /**
28: */
29: static public function getInstance();
30:
31: /**
32: *
33: * @param mixed $mVariable
34: * @param string $sVariableDescription [optional]
35: * @param bool $bExit [optional]
36: */
37: public function show($mVariable, $sVariableDescription = '', $bExit = false);
38:
39: /**
40: *
41: * @param mixed $mVariable
42: * @param string $sVariableDescription [optional]
43: */
44: public function add($mVariable, $sVariableDescription = '');
45:
46: /**
47: */
48: public function reset();
49:
50: /**
51: */
52: public function showAll();
53:
54: /**
55: * Writes a line.
56: *
57: * @param string $sText
58: */
59: public function out($sText);
60: }
61: