static protected function renderSmarty($formObj, $tplAttributes = Array())
    {
        $smarty = TemplateHelper::getSmartyTemplate();
        $tplFile = TemplateHelper::getTplFileWithPath($formObj->templateFile, $formObj->package);

        //Translate Array of template variables to \Zend template object
        foreach ($tplAttributes as $key => $value) {
            $smarty->assign($key, $value);
        };

        return $smarty->fetch($tplFile);
    }
static protected function renderSmarty($formObj, $tplAttributes = Array())
    {
        $smarty = TemplateHelper::getSmartyTemplate();
        $tplFile = TemplateHelper::getTplFileWithPath($formObj->templateFile, $formObj->package);

        //Translate Array of template variables to \Zend template object
        foreach ($tplAttributes as $key => $value) {
            $smarty->assign($key, $value);
        };

        return $smarty->fetch($tplFile);
    }
static protected function renderSmarty ( $ formObj , $ tplAttributes = Array ( ) ) { $ smarty = TemplateHelper :: getSmartyTemplate ( ) ; $ tplFile = TemplateHelper :: getTplFileWithPath ( $ formObj -> templateFile , $ formObj -> package ) ; //Translate Array of template variables to \Zend template object foreach ( $ tplAttributes as $ key => $ value ) { $ smarty -> assign ( $ key , $ value ) ; } ; return $ smarty -> fetch ( $ tplFile ) ; }
Render smarty template for form object

@param EasyForm $formObj
@param string $tplFile
@return string result of rendering process
Render smarty template for form object