1: <?php
2: /**
3: * This file contains the debug interface.
4: *
5: * @package Core
6: * @subpackage Debug
7: * @version SVN Revision $Rev:$
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
35: * @param bool $bExit
36: */
37: public function show($mVariable, $sVariableDescription = '', $bExit = false);
38:
39: /**
40: *
41: * @param mixed $mVariable
42: * @param string $sVariableDescription
43: */
44: public function add($mVariable, $sVariableDescription = '');
45:
46: /**
47: */
48: public function reset();
49:
50: /**
51: */
52: public function showAll();
53:
54: /**
55: *
56: * @param string $sText
57: */
58: public function out($sText);
59: }
60: