Source for file IRenderable.php

Documentation is available at IRenderable.php

  1. 1: <?php
  2. 2:  
  3. 3: /**
  4. 4:  * Nette Framework
  5. 5:  *
  6. 6:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  7. 7:  * @license    http://nettephp.com/license  Nette license
  8. 8:  * @link       http://nettephp.com
  9. 9:  * @category   Nette
  10. 10:  * @package    Nette\Application
  11. 11:  */
  12. 12:  
  13. 13:  
  14. 14:  
  15. 15: /**
  16. 16:  *
  17. 17:  *
  18. 18:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  19. 19:  * @package    Nette\Application
  20. 20:  */
  21. 21: interface IRenderable
  22. 22: {
  23. 23:  
  24. 24:     /**
  25. 25:      * Forces control to repaint.
  26. 26:      * @param  string 
  27. 27:      * @return void 
  28. 28:      */
  29. 29:     function invalidateControl();
  30. 30:  
  31. 31:     /**
  32. 32:      * Is required to repaint the control?
  33. 33:      * @return bool 
  34. 34:      */
  35. 35:     function isControlInvalid();
  36. 36:  
  37. 37: }
  38. 38:  
  39. 39:  
  40. 40:  
  41. 41: /**
  42. 42:  *
  43. 43:  *
  44. 44:  * @copyright  Copyright (c) 2004, 2010 David Grudl
  45. 45:  * @package    Nette\Application
  46. 46:  */
  47. 47: interface IPartiallyRenderable extends IRenderable
  48. 48: {
  49. 49:  
  50. 50:     /**
  51. 51:      * Forces control or its snippet to repaint.
  52. 52:      * @param  string 
  53. 53:      * @return void 
  54. 54:      */
  55. 55:     //function invalidateControl($snippet = NULL);
  56. 56:  
  57. 57:     /**
  58. 58:      * Is required to repaint the control or its snippet?
  59. 59:      * @param  string  snippet name
  60. 60:      * @return bool 
  61. 61:      */
  62. 62:     //function isControlInvalid($snippet = NULL);
  63. 63:  
  64. 64: }