aboutsummaryrefslogtreecommitdiff
blob: 59c85df443b4904231cd848fbf832264b4aaf305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
*
* @package phpBB3
* @copyright (c) 2011 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

/**
* Template renderer interface.
*
* Objects implementing this interface encapsulate a means of displaying
* a template.
*
* @package phpBB3
*/
interface phpbb_template_renderer
{
	/**
	* Displays the template managed by this renderer.
	*
	* @param phpbb_template_context $context Template context to use
	* @param array $lang Language entries to use
	*/
	public function render($context, $lang);
}