PHP Class Nexcessnet_Turpentine_Model_Varnish_Configurator_Version3

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Inheritance: extends Nexcessnet_Turpentine_Model_Varnish_Configurator_Abstract
Show file Open project: nexcess/magento-turpentine

Public Methods

Method Description
generate ( boolean $doClean = true ) : string Generate the Varnish 3.0-compatible VCL

Protected Methods

Method Description
_getAdvancedSessionValidation ( )
_getTemplateVars ( ) : array Build the list of template variables to apply to the VCL template

Method Details

_getAdvancedSessionValidation() protected method

_getTemplateVars() protected method

Build the list of template variables to apply to the VCL template
protected _getTemplateVars ( ) : array
return array

generate() public method

Generate the Varnish 3.0-compatible VCL
public generate ( boolean $doClean = true ) : string
$doClean boolean if true, VCL will be cleaned (whitespaces stripped, etc.)
return string