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: * @package Nette\Application
11: */
12:
13:
14:
15: /**
16: *
17: *
18: * @author David Grudl
19: * @package Nette\Application
20: */
21: interface IRenderable
22: {
23:
24: /**
25: * Forces control to repaint.
26: * @param string
27: * @return void
28: */
29: function invalidateControl();
30:
31: /**
32: * Is required to repaint the control?
33: * @return bool
34: */
35: function isControlInvalid();
36:
37: }
38:
39:
40:
41: /**
42: *
43: *
44: * @author David Grudl
45: * @package Nette\Application
46: */
47: interface IPartiallyRenderable extends IRenderable
48: {
49:
50: /**
51: * Forces control or its snippet to repaint.
52: * @param string
53: * @return void
54: */
55: //function invalidateControl($snippet = NULL);
56:
57: /**
58: * Is required to repaint the control or its snippet?
59: * @param string snippet name
60: * @return bool
61: */
62: //function isControlInvalid($snippet = NULL);
63:
64: }
65: