src/Resource.php
public static function getZendTemplate()
    {
        $view = new \Zend_View();
        if (defined('SMARTY_TPL_PATH')) {
            $view->setScriptPath(SMARTY_TPL_PATH);
        }

        $theme = Resource::getCurrentTheme();

        // load the config file which has the images and css url defined
        $view->app_url = OPENBIZ_APP_URL;
        $view->app_index = OPENBIZ_APP_INDEX_URL;
        $view->js_url = OPENBIZ_JS_URL;
        $view->css_url = OPENBIZ_THEME_URL . "/" . $theme . "/css";
        $view->resource_url = OPENBIZ_RESOURCE_URL;
        $view->theme_js_url = OPENBIZ_THEME_URL . "/" . $theme . "/js";
        $view->theme_url = OPENBIZ_THEME_URL . "/" . $theme;
        $view->image_url = OPENBIZ_THEME_URL . "/" . $theme . "/images";
        $view->lang = strtolower(I18n::getCurrentLangCode());

        return $view;
    }
public static function getZendTemplate()
    {
        $view = new \Zend_View();
        if (defined('SMARTY_TPL_PATH')) {
            $view->setScriptPath(SMARTY_TPL_PATH);
        }

        $theme = Resource::getCurrentTheme();

        // load the config file which has the images and css url defined
        $view->app_url = OPENBIZ_APP_URL;
        $view->app_index = OPENBIZ_APP_INDEX_URL;
        $view->js_url = OPENBIZ_JS_URL;
        $view->css_url = OPENBIZ_THEME_URL . "/" . $theme . "/css";
        $view->resource_url = OPENBIZ_RESOURCE_URL;
        $view->theme_js_url = OPENBIZ_THEME_URL . "/" . $theme . "/js";
        $view->theme_url = OPENBIZ_THEME_URL . "/" . $theme;
        $view->image_url = OPENBIZ_THEME_URL . "/" . $theme . "/images";
        $view->lang = strtolower(I18n::getCurrentLangCode());

        return $view;
    }
Get \Zend Template
@return \Zend_View zend view template object