PHP Class Nexcessnet_Turpentine_EsiController

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 Mage_Core_Controller_Front_Action
Afficher le fichier Open project: nexcess/magento-turpentine

Méthodes publiques

Méthode Description
getBlockAction ( ) : null Spit out the rendered block from the URL-encoded data
getFormKeyAction ( ) : null Spit out the form key for this session
indexAction ( ) : null It seems this has to exist so we just make it redirect to the base URL for lack of anything better to do.
postDispatch ( ) : null Need to disable this flag to prevent setting the last URL but we don't want to completely break sessions.

Méthodes protégées

Méthode Description
_getEsiBlock ( Varien_Object $esiData ) : Mage_Core_Block_Template | null Generate the ESI block
_swapCustomerHandles ( array $handles ) : array Swap customer_logged_in and customer_logged_out cached handles based on actual customer login status. Fixes stale Login/Logout links (and probably other things).

Method Details

_getEsiBlock() protected méthode

Generate the ESI block
protected _getEsiBlock ( Varien_Object $esiData ) : Mage_Core_Block_Template | null
$esiData Varien_Object
Résultat Mage_Core_Block_Template | null

_swapCustomerHandles() protected méthode

This is definitely a hack, need a more general solution to this problem.
protected _swapCustomerHandles ( array $handles ) : array
$handles array
Résultat array

getBlockAction() public méthode

Spit out the rendered block from the URL-encoded data
public getBlockAction ( ) : null
Résultat null

getFormKeyAction() public méthode

Spit out the form key for this session
public getFormKeyAction ( ) : null
Résultat null

indexAction() public méthode

It seems this has to exist so we just make it redirect to the base URL for lack of anything better to do.
public indexAction ( ) : null
Résultat null

postDispatch() public méthode

see Mage_Core_Controller_Front_Action::postDispatch
public postDispatch ( ) : null
Résultat null