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