1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (http://nette.org)
5: * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
6: */
7:
8: namespace Nette\Application\UI;
9:
10: use Nette;
11:
12:
13: /**
14: * Defines template.
15: */
16: interface ITemplate
17: {
18:
19: /**
20: * Renders template to output.
21: * @return void
22: */
23: function render();
24:
25: /**
26: * Sets the path to the template file.
27: * @return void
28: */
29: function setFile($file);
30:
31: /**
32: * Returns the path to the template file.
33: * @return string
34: */
35: function getFile();
36:
37: }
38: