protected function moduleIncludeCompat($params, &$smarty)
    {
        $plugin = $this->getSmartyPluginModule();
        $params = array(
            "location" => $this->getParam($params, 'location', null),
            "module"   => $this->getParam($params, 'modulecode', null),
            "countvar" => $this->getParam($params, 'countvar', null)
        );

        return $plugin->theliaModule($params, $smarty);
    }
protected function moduleIncludeCompat($params, &$smarty)
    {
        $plugin = $this->getSmartyPluginModule();
        $params = array(
            "location" => $this->getParam($params, 'location', null),
            "module"   => $this->getParam($params, 'modulecode', null),
            "countvar" => $this->getParam($params, 'countvar', null)
        );

        return $plugin->theliaModule($params, $smarty);
    }
protected function moduleIncludeCompat ( $ params , & $ smarty ) { $ plugin = $ this -> getSmartyPluginModule ( ) ; $ params = array ( "location" => $ this -> getParam ( $ params , 'location' , null ) , "module" => $ this -> getParam ( $ params , 'modulecode' , null ) , "countvar" => $ this -> getParam ( $ params , 'countvar' , null ) ) ; return $ plugin -> theliaModule ( $ params , $ smarty ) ; }
Call the plugin function module_include for backward compatibility.

@param array        $params the params passed in the smarty function
@param \TheliaSmarty\Template\SmartyParser $smarty the smarty parser

@return string the contents generated by module_include function
Call the plugin function module_include for backward compatibility .