PHP Класс 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.
Наследование: extends Mage_Core_Controller_Front_Action
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
_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).

Описание методов

_getEsiBlock() защищенный Метод

Generate the ESI block
protected _getEsiBlock ( Varien_Object $esiData ) : Mage_Core_Block_Template | null
$esiData Varien_Object
Результат Mage_Core_Block_Template | null

_swapCustomerHandles() защищенный Метод

This is definitely a hack, need a more general solution to this problem.
protected _swapCustomerHandles ( array $handles ) : array
$handles array
Результат array

getBlockAction() публичный Метод

Spit out the rendered block from the URL-encoded data
public getBlockAction ( ) : null
Результат null

getFormKeyAction() публичный Метод

Spit out the form key for this session
public getFormKeyAction ( ) : null
Результат null

indexAction() публичный Метод

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
Результат null

postDispatch() публичный Метод

see Mage_Core_Controller_Front_Action::postDispatch
public postDispatch ( ) : null
Результат null