1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: *
6: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
7: *
8: * For the full copyright and license information, please view
9: * the file license.txt that was distributed with this source code.
10: */
11:
12: namespace Nette\Application;
13:
14: use Nette;
15:
16:
17:
18: /**
19: *
20: *
21: * @author David Grudl
22: */
23: interface IRenderable
24: {
25:
26: /**
27: * Forces control to repaint.
28: * @param string
29: * @return void
30: */
31: function invalidateControl();
32:
33: /**
34: * Is required to repaint the control?
35: * @return bool
36: */
37: function isControlInvalid();
38:
39: }
40:
41:
42:
43: /**
44: *
45: *
46: * @author David Grudl
47: */
48: interface IPartiallyRenderable extends IRenderable
49: {
50:
51: /**
52: * Forces control or its snippet to repaint.
53: * @param string
54: * @return void
55: */
56: //function invalidateControl($snippet = NULL);
57:
58: /**
59: * Is required to repaint the control or its snippet?
60: * @param string snippet name
61: * @return bool
62: */
63: //function isControlInvalid($snippet = NULL);
64:
65: }
66: