phpbb/phpBB/includes/template_executor.php
Oleg Pudeyev 0501640d5d [feature/template-engine] Added phpbb_template_context class.
Objects of this class hold variables assigned to templates.

PHPBB3-9726
2011-05-07 17:47:02 -04:00

17 lines
402 B
PHP

<?php
/**
* Template executor interface.
*
* Objects implementing this interface encapsulate a means of executing
* (i.e. rendering) a template.
*/
interface phpbb_template_executor
{
/**
* Executes the template managed by this executor.
* @param phpbb_template_context $context Template context to use
* @param array $lang Language entries to use
*/
public function execute($context, $lang);
}