kritbit

kritbit Git Source Tree


Root/web/system/engine/hf_controller.php

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
    }
 
}

Archive Download this file

Branches

Number of commits:
Page rendered in 0.08593s using 11 queries.