public function renderPhpTemplate($template, array $data)
    {
        extract($data, EXTR_SKIP);

        unset($data); // Kill duplicates

        ob_start();
        include $template;
        return ob_get_clean();
    }
public function renderPhpTemplate($template, array $data)
    {
        extract($data, EXTR_SKIP);

        unset($data); // Kill duplicates

        ob_start();
        include $template;
        return ob_get_clean();
    }
public function renderPhpTemplate ( $ template , array $ data ) { extract ( $ data , EXTR_SKIP ) ; unset ( $ data ) ; // Kill duplicates ob_start ( ) ; include $ template ; return ob_get_clean ( ) ; }
Renders PHP templates
@param string $template
@param array $data
@return string
Renders PHP templates