controllers/front/category.php
/**
     * Renders controller templates and generates page content
     *
     * @param array|string $content Template file(s) to be rendered
     *
     * @throws Exception
     * @throws SmartyException
     */
Renders controller templates and generates page content
@param array|string $content Template file(s) to be rendered

@throws Exception
@throws SmartyException
Renders controller templates and generates page content @param array|string $content Template file ( s ) to be rendered @throws Exception @throws SmartyException
protected function smartyOutputContent($content)
    {
        if (!Configuration::get('PS_JS_DEFER')) {
            parent::smartyOutputContent($content);
            return;
        }
        Configuration::set('PS_JS_DEFER', 0);
        parent::smartyOutputContent($content);
        Configuration::set('PS_JS_DEFER', 1);
    }
protected function smartyOutputContent ( $ content ) { if ( ! Configuration :: get ( 'PS_JS_DEFER' ) ) { parent :: smartyOutputContent ( $ content ) ; return ; } Configuration :: set ( 'PS_JS_DEFER' , 0 ) ; parent :: smartyOutputContent ( $ content ) ; Configuration :: set ( 'PS_JS_DEFER' , 1 ) ; }
Renders controller templates and generates page content
 @param array|string $content Template file(s) to be rendered
Renders controller templates and generates page content @param array|string $content Template file ( s ) to be rendered