protected function render($filePath, $variables = array()) {
        foreach ($this->_vars as $k => $n) {
            $$k = $n;
        }
        foreach ($variables as $k => $n) {
            $$k = $n;
        }
        require $filePath;
    }
protected function render($filePath, $variables = array()) {
        foreach ($this->_vars as $k => $n) {
            $$k = $n;
        }
        foreach ($variables as $k => $n) {
            $$k = $n;
        }
        require $filePath;
    }
protected function render ( $ filePath , $ variables = array ( ) ) { foreach ( $ this -> _vars as $ k => $ n ) { $ $ k = $ n ; } foreach ( $ variables as $ k => $ n ) { $ $ k = $ n ; } require $ filePath ; }
Display a template using full path. It will also assign all variables to it.
@param string $filePath
@param array|string[string] $variables
Display a template using full path . It will also assign all variables to it .