2011-05-03 23:53:22 -04:00
|
|
|
<?php
|
2011-05-07 17:58:56 -04:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @package phpBB3
|
|
|
|
* @copyright (c) 2011 phpBB Group
|
2011-12-31 13:32:52 +00:00
|
|
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
2011-05-07 17:58:56 -04:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @ignore
|
|
|
|
*/
|
|
|
|
if (!defined('IN_PHPBB'))
|
|
|
|
{
|
|
|
|
exit;
|
|
|
|
}
|
2011-05-03 23:53:22 -04:00
|
|
|
|
|
|
|
/**
|
2011-05-08 04:03:41 -04:00
|
|
|
* Template renderer interface.
|
2011-05-03 23:53:22 -04:00
|
|
|
*
|
2011-05-08 04:03:41 -04:00
|
|
|
* Objects implementing this interface encapsulate a means of displaying
|
|
|
|
* a template.
|
2011-05-07 17:58:56 -04:00
|
|
|
*
|
|
|
|
* @package phpBB3
|
2011-05-03 23:53:22 -04:00
|
|
|
*/
|
2011-05-08 04:03:41 -04:00
|
|
|
interface phpbb_template_renderer
|
2011-05-03 23:53:22 -04:00
|
|
|
{
|
|
|
|
/**
|
2011-05-08 04:03:41 -04:00
|
|
|
* Displays the template managed by this renderer.
|
2011-08-07 19:07:27 -04:00
|
|
|
*
|
2011-05-07 15:10:50 -04:00
|
|
|
* @param phpbb_template_context $context Template context to use
|
|
|
|
* @param array $lang Language entries to use
|
2011-05-03 23:53:22 -04:00
|
|
|
*/
|
2011-05-08 04:03:41 -04:00
|
|
|
public function render($context, $lang);
|
2011-05-03 23:53:22 -04:00
|
|
|
}
|