Adding modifications from kritbit
This commit is contained in:
24
system/engine/hf_controller.php
Normal file
24
system/engine/hf_controller.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace system\engine;
|
||||
|
||||
class HF_Controller
|
||||
{
|
||||
protected $config;
|
||||
protected $tpl;
|
||||
protected $core;
|
||||
|
||||
public function __construct($config, $core, $tpl = null)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->tpl = $tpl;
|
||||
$this->core = $core;
|
||||
}
|
||||
|
||||
protected function loadRender($template, $parameters=array())
|
||||
{
|
||||
$this->tpl->loadTemplate($template);
|
||||
return $this->tpl->render($parameters);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user