Class Mage_Sendfriend_ProductController

Description

Email to a Friend Product Controller

Located in /Sendfriend/controllers/ProductController.php (line 34)

Mage_Core_Controller_Varien_Action
   |
   --Mage_Core_Controller_Front_Action
      |
      --Mage_Sendfriend_ProductController
Method Summary
Variables
Methods
preDispatch (line 42)

Predispatch: check is enable module If allow only for customer - redirect to login page

  • access: public

Redefinition of:
Mage_Core_Controller_Front_Action::preDispatch()
Predispatch: shoud set layout area
sendAction (line 112)

Show Send to a Friend Form

  • access: public
void sendAction ()
sendmailAction (line 148)

Send Email Post Action

  • access: public
void sendmailAction ()
_initProduct (line 75)

Initialize Product Instance

  • access: protected
Mage_Catalog_Model_Product _initProduct ()
_initSendToFriendModel (line 96)

Initialize send friend model

  • access: protected
Mage_Sendfriend_Model_Sendfriend _initSendToFriendModel ()

Inherited Methods

Inherited From Mage_Core_Controller_Front_Action

Mage_Core_Controller_Front_Action::postDispatch()
Mage_Core_Controller_Front_Action::preDispatch()
Mage_Core_Controller_Front_Action::__()

Inherited From Mage_Core_Controller_Varien_Action

Mage_Core_Controller_Varien_Action::__construct()
Mage_Core_Controller_Varien_Action::addActionLayoutHandles()
Mage_Core_Controller_Varien_Action::dispatch()
Mage_Core_Controller_Varien_Action::generateLayoutBlocks()
Mage_Core_Controller_Varien_Action::generateLayoutXml()
Mage_Core_Controller_Varien_Action::getActionMethodName()
Mage_Core_Controller_Varien_Action::getFlag()
Mage_Core_Controller_Varien_Action::getFullActionName()
Mage_Core_Controller_Varien_Action::getLayout()
Mage_Core_Controller_Varien_Action::getRequest()
Mage_Core_Controller_Varien_Action::getResponse()
Mage_Core_Controller_Varien_Action::hasAction()
Mage_Core_Controller_Varien_Action::initLayoutMessages()
Mage_Core_Controller_Varien_Action::loadLayout()
Mage_Core_Controller_Varien_Action::loadLayoutUpdates()
Mage_Core_Controller_Varien_Action::noCookiesAction()
Mage_Core_Controller_Varien_Action::norouteAction()
Mage_Core_Controller_Varien_Action::postDispatch()
Mage_Core_Controller_Varien_Action::preDispatch()
Mage_Core_Controller_Varien_Action::renderLayout()
Mage_Core_Controller_Varien_Action::setFlag()
Mage_Core_Controller_Varien_Action::_construct()
Mage_Core_Controller_Varien_Action::_filterDates()
Mage_Core_Controller_Varien_Action::_filterDateTime()
Mage_Core_Controller_Varien_Action::_forward()
Mage_Core_Controller_Varien_Action::_getRealModuleName()
Mage_Core_Controller_Varien_Action::_getRefererUrl()
Mage_Core_Controller_Varien_Action::_initLayoutMessages()
Mage_Core_Controller_Varien_Action::_isUrlInternal()
Mage_Core_Controller_Varien_Action::_prepareDownloadResponse()
Mage_Core_Controller_Varien_Action::_redirect()
Mage_Core_Controller_Varien_Action::_redirectError()
Mage_Core_Controller_Varien_Action::_redirectReferer()
Mage_Core_Controller_Varien_Action::_redirectSuccess()
Mage_Core_Controller_Varien_Action::_redirectUrl()
Mage_Core_Controller_Varien_Action::_renderTitles()
Mage_Core_Controller_Varien_Action::_rewrite()
Mage_Core_Controller_Varien_Action::_title()
Mage_Core_Controller_Varien_Action::_validateFormKey()
Class Constants

Documentation generated on Fri, 11 Feb 2011 17:10:27 +0200 by phpDocumentor 1.4.3