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
파일 보기 프로젝트 열기: nexcess/magento-turpentine

공개 메소드들

메소드 설명
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