Mage_Core_Controller_Front_Action Class Reference

Inheritance diagram for Mage_Core_Controller_Front_Action:

Mage_Core_Controller_Varien_Action Mage_AmazonPayments_AspController Mage_AmazonPayments_CbaController Mage_Api_Controller_Action Mage_Catalog_CategoryController Mage_Catalog_IndexController Mage_Catalog_Product_CompareController Mage_Catalog_ProductController Mage_Catalog_Seo_SitemapController Mage_CatalogSearch_AdvancedController Mage_CatalogSearch_AjaxController Mage_CatalogSearch_ResultController Mage_CatalogSearch_TermController Mage_Checkout_CartController Mage_Checkout_Controller_Action Mage_Checkout_IndexController Mage_Checkout_Multishipping_AddressController Mage_Cms_IndexController Mage_Cms_PageController Mage_Contacts_IndexController Mage_Core_AjaxController Mage_Core_IndexController Mage_Customer_AccountController Mage_Customer_AddressController Mage_Customer_ReviewController Mage_Directory_CurrencyController Mage_Downloadable_CustomerController Mage_Downloadable_DownloadController Mage_GiftMessage_IndexController Mage_GoogleCheckout_ApiController Mage_GoogleCheckout_RedirectController Mage_Newsletter_ManageController Mage_Newsletter_SubscriberController Mage_Paypal_ExpressController Mage_Paypal_StandardController Mage_PaypalUk_ExpressController Mage_Poll_VoteController Mage_ProductAlert_AddController Mage_ProductAlert_UnsubscribeController Mage_Review_CustomerController Mage_Review_ProductController Mage_Rss_CatalogController Mage_Rss_IndexController Mage_Rss_OrderController Mage_Sales_DownloadController Mage_Sales_OrderController Mage_Sendfriend_ProductController Mage_Shipping_ShippingController Mage_Shipping_TrackingController Mage_Tag_CustomerController Mage_Tag_IndexController Mage_Tag_ListController Mage_Tag_ProductController Mage_Wishlist_IndexController Mage_Wishlist_SharedController

List of all members.

Public Member Functions

 preDispatch ()
 postDispatch ()
 __ ()


Detailed Description

Definition at line 34 of file Action.php.


Member Function Documentation

__ (  ) 

Translate a phrase

Returns:
string

Definition at line 68 of file Action.php.

00069     {
00070         $args = func_get_args();
00071         $expr = new Mage_Core_Model_Translate_Expr(array_shift($args), $this->_getRealModuleName());
00072         array_unshift($args, $expr);
00073         return Mage::app()->getTranslator()->translate($args);
00074     }

postDispatch (  ) 

Postdispatch: should set last visited url

Returns:
Mage_Core_Controller_Front_Action

Reimplemented from Mage_Core_Controller_Varien_Action.

Definition at line 54 of file Action.php.

00055     {
00056         parent::postDispatch();
00057         if (!$this->getFlag('', self::FLAG_NO_START_SESSION )) {
00058             Mage::getSingleton('core/session')->setLastUrl(Mage::getUrl('*/*/*'), array('_current'=>true));
00059         }
00060         return $this;
00061     }

preDispatch (  ) 


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:23:54 2009 for Magento by  doxygen 1.5.8