Class Mage_Core_Controller_Varien_Action
Custom Zend_Controller_Action class (formally)
Allows dispatching before and after events for each controller action
Direct known subclasses
Mage_Adminhtml_Controller_Action, Mage_Core_Controller_Front_Action, Mage_Install_Controller_ActionIndirect known subclasses
Mage_Adminhtml_AjaxController, Mage_Adminhtml_Api_RoleController, Mage_Adminhtml_Catalog_Product_ReviewController, Mage_Api2_Adminhtml_Api2_AttributeController, Mage_Api2_Adminhtml_Api2_RoleController, Mage_Api_Controller_Action, Mage_Api_IndexController, Mage_Api_SoapController, Mage_Api_V2_SoapController, Mage_Api_XmlrpcController, Mage_Authorizenet_Adminhtml_Authorizenet_Directpost_PaymentController, Mage_Authorizenet_Directpost_PaymentController, Mage_Bundle_Adminhtml_Bundle_Product_EditController, Mage_Adminhtml_Catalog_Product_SetController, Mage_Bundle_Adminhtml_Bundle_SelectionController, Mage_Captcha_Adminhtml_RefreshController, Mage_Captcha_RefreshController, Mage_Catalog_CategoryController, Mage_Catalog_IndexController, Mage_Catalog_Product_CompareController, Mage_Catalog_ProductController, Mage_Catalog_Seo_SitemapController, Mage_CatalogSearch_AdvancedController, Mage_CatalogSearch_AjaxController, Mage_Adminhtml_Catalog_Product_WidgetController, Mage_CatalogSearch_ResultController, Mage_CatalogSearch_TermController, Mage_Centinel_Adminhtml_Centinel_IndexController, Mage_Centinel_IndexController, Mage_Checkout_CartController, Mage_Checkout_Controller_Action, Mage_Checkout_IndexController, Mage_Checkout_Multishipping_AddressController, Mage_Checkout_MultishippingController, Mage_Checkout_OnepageController, Mage_Adminhtml_Catalog_ProductController, Mage_Cms_IndexController, Mage_Cms_PageController, Mage_Compiler_Adminhtml_Compiler_ProcessController, Mage_Connect_Adminhtml_Extension_CustomController, Mage_Connect_Adminhtml_Extension_LocalController, Mage_Contacts_IndexController, Mage_Core_AjaxController, Mage_Core_IndexController, Mage_CurrencySymbol_Adminhtml_System_CurrencysymbolController, Mage_Customer_AccountController, Mage_Adminhtml_Catalog_SearchController, Mage_Customer_AddressController, Mage_Customer_ReviewController, Mage_Directory_CurrencyController, Mage_Downloadable_Adminhtml_Downloadable_FileController, Mage_Downloadable_Adminhtml_Downloadable_Product_EditController, Mage_Downloadable_CustomerController, Mage_Downloadable_DownloadController, Mage_GoogleBase_Adminhtml_Googlebase_ItemsController, Mage_GoogleBase_Adminhtml_Googlebase_SelectionController, Mage_GoogleBase_Adminhtml_Googlebase_TypesController, Mage_Adminhtml_CatalogController, Mage_GoogleCheckout_ApiController, Mage_GoogleCheckout_RedirectController, Mage_ImportExport_Adminhtml_ExportController, Mage_ImportExport_Adminhtml_ImportController, Mage_Index_Adminhtml_ProcessController, Mage_Install_IndexController, Mage_Install_WizardController, Mage_Newsletter_ManageController, Mage_Newsletter_SubscriberController, Mage_Oauth_Adminhtml_Oauth_Admin_TokenController, Mage_Adminhtml_Checkout_AgreementController, Mage_Oauth_Adminhtml_Oauth_AuthorizeController, Mage_Oauth_Adminhtml_Oauth_AuthorizedTokensController, Mage_Oauth_Adminhtml_Oauth_ConsumerController, Mage_Oauth_AuthorizeController, Mage_Oauth_Customer_TokenController, Mage_Oauth_InitiateController, Mage_Oauth_TokenController, Mage_PageCache_Adminhtml_PageCacheController, Mage_Paygate_Adminhtml_Paygate_Authorizenet_PaymentController, Mage_Paygate_Authorizenet_PaymentController, Mage_Adminhtml_Cms_Block_WidgetController, Mage_Paypal_Adminhtml_Paypal_ReportsController, Mage_Paypal_Controller_Express_Abstract, Mage_Paypal_ExpressController, Mage_Paypal_HostedproController, Mage_Paypal_IpnController, Mage_Paypal_PayflowadvancedController, Mage_Paypal_PayflowController, Mage_Paypal_StandardController, Mage_PaypalUk_ExpressController, Mage_Persistent_IndexController, Mage_Adminhtml_Cms_BlockController, 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_Billing_AgreementController, Mage_Sales_Controller_Abstract, Mage_Adminhtml_Cms_Page_WidgetController, Mage_Sales_DownloadController, Mage_Sales_GuestController, Mage_Sales_OrderController, Mage_Sales_Recurring_ProfileController, Mage_Sendfriend_ProductController, Mage_Shipping_TrackingController, Mage_Tag_CustomerController, Mage_Tag_IndexController, Mage_Tag_ListController, Mage_Tag_ProductController, Mage_Adminhtml_Api_UserController, Mage_Adminhtml_Cms_PageController, Mage_Widget_Adminhtml_Widget_InstanceController, Mage_Widget_Adminhtml_WidgetController, Mage_Wishlist_Controller_Abstract, Mage_Wishlist_IndexController, Mage_Wishlist_SharedController, Mage_XmlConnect_Adminhtml_MobileController, Mage_XmlConnect_CartController, Mage_XmlConnect_CatalogController, Mage_XmlConnect_CheckoutController, Mage_XmlConnect_CmsController, Mage_Adminhtml_Cms_Wysiwyg_ImagesController, Mage_XmlConnect_ConfigurationController, Mage_XmlConnect_Controller_Action, Mage_XmlConnect_CustomerController, Mage_XmlConnect_IndexController, Mage_XmlConnect_Paypal_MeclController, Mage_XmlConnect_Paypal_MepController, Mage_XmlConnect_PbridgeController, Mage_XmlConnect_ReviewController, Mage_XmlConnect_WishlistController, Phoenix_Moneybookers_MoneybookersController, Mage_Adminhtml_Cms_WysiwygController, Phoenix_Moneybookers_ProcessingController, Mage_Adminhtml_Controller_Report_Abstract, Mage_Adminhtml_Controller_Sales_Creditmemo, Mage_Adminhtml_Controller_Sales_Invoice, Mage_Adminhtml_Controller_Sales_Shipment, Mage_Adminhtml_Customer_Cart_Product_Composite_CartController, Mage_Adminhtml_Customer_ConfigController, Mage_Adminhtml_Customer_GroupController, Mage_Adminhtml_CacheController, Mage_Adminhtml_Customer_OnlineController, Mage_Adminhtml_Customer_System_Config_ValidatevatController, Mage_Adminhtml_Customer_Wishlist_Product_Composite_WishlistController, Mage_Adminhtml_CustomerController, Mage_Adminhtml_DashboardController, Mage_Adminhtml_IndexController, Mage_Adminhtml_JsonController, Mage_Adminhtml_Media_EditorController, Mage_Adminhtml_Media_UploaderController, Mage_Adminhtml_Newsletter_ProblemController, Mage_Adminhtml_Catalog_Category_WidgetController, Mage_Adminhtml_Newsletter_QueueController, Mage_Adminhtml_Newsletter_SubscriberController, Mage_Adminhtml_Newsletter_TemplateController, Mage_Adminhtml_NotificationController, Mage_Adminhtml_Permissions_RoleController, Mage_Adminhtml_Permissions_UserController, Mage_Adminhtml_Poll_AnswerController, Mage_Adminhtml_PollController, Mage_Adminhtml_Promo_CatalogController, Mage_Adminhtml_Promo_QuoteController, Mage_Adminhtml_Catalog_CategoryController, Mage_Adminhtml_Promo_WidgetController, Mage_Adminhtml_PromoController, Mage_Adminhtml_RatingController, Mage_Adminhtml_Report_CustomerController, Mage_Adminhtml_Report_ProductController, Mage_Adminhtml_Report_ReviewController, Mage_Adminhtml_Report_SalesController, Mage_Adminhtml_Report_ShopcartController, Mage_Adminhtml_Report_StatisticsController, Mage_Adminhtml_Report_TagController, Mage_Adminhtml_Catalog_DatafeedsController, Mage_Adminhtml_ReportController, Mage_Adminhtml_Rss_CatalogController, Mage_Adminhtml_Rss_OrderController, Mage_Adminhtml_Sales_Billing_AgreementController, Mage_Adminhtml_Sales_CreditmemoController, Mage_Adminhtml_Sales_InvoiceController, Mage_Adminhtml_Sales_Order_CreateController, Mage_Adminhtml_Sales_Order_CreditmemoController, Mage_Adminhtml_Sales_Order_EditController, Mage_Adminhtml_Sales_Order_InvoiceController, Mage_Adminhtml_Catalog_Product_Action_AttributeController, Mage_Adminhtml_Sales_Order_ShipmentController, Mage_Adminhtml_Sales_Order_StatusController, Mage_Adminhtml_Sales_Order_View_GiftmessageController, Mage_Adminhtml_Sales_OrderController, Mage_Adminhtml_Sales_Recurring_ProfileController, Mage_Adminhtml_Sales_ShipmentController, Mage_Adminhtml_Sales_TransactionsController, Mage_Adminhtml_SalesController, Mage_Adminhtml_SitemapController, Mage_Adminhtml_SurveyController, Mage_Adminhtml_Catalog_Product_AttributeController, Mage_Adminhtml_System_AccountController, Mage_Adminhtml_System_BackupController, Mage_Adminhtml_System_CacheController, Mage_Adminhtml_System_Config_System_StorageController, Mage_Adminhtml_System_ConfigController, Mage_Adminhtml_System_Convert_GuiController, Mage_Adminhtml_System_Convert_ProfileController, Mage_Adminhtml_System_CurrencyController, Mage_Adminhtml_System_DesignController, Mage_Adminhtml_System_Email_TemplateController, Mage_Adminhtml_Catalog_Product_GalleryController, Mage_Adminhtml_System_StoreController, Mage_Adminhtml_System_VariableController, Mage_Adminhtml_SystemController, Mage_Adminhtml_TagController, Mage_Adminhtml_Tax_Class_CustomerController, Mage_Adminhtml_Tax_Class_ProductController, Mage_Adminhtml_Tax_ClassController, Mage_Adminhtml_Tax_RateController, Mage_Adminhtml_Tax_RuleController, Mage_Adminhtml_UrlrewriteControllerPackage: Mage\Core
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Author: Magento Core Team <core@magentocommerce.com>
Located at code/core/Mage/Core/Controller/Varien/Action.php
public
|
#
__construct( Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array() )
Constructor |
protected
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
string
|
#
getFullActionName( string $delimiter = '_' )
Retrieve full bane of current action current controller and current module |
public
|
|
public
|
#
loadLayout( string|null|boolean $handles = null, boolean $generateBlocks = true, boolean $generateXml = true )
Load layout by handles(s) |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
|
protected
|
#
_initLayoutMessages( string|array $messagesStorage )
Initializing layout messages by message storage(s), loading and adding messages to layout messages block |
public
|
#
initLayoutMessages( string|array $messagesStorage )
Initializing layout messages by message storage(s), loading and adding messages to layout messages block |
protected
|
|
protected
|
|
public
|
#
setRedirectWithCookieCheck( string $path, array $arguments = array() )
Set redirect into response with session id in URL if it is enabled. It allows to distinguish primordial request from browser with cookies disabled. |
protected
|
|
protected
|
|
protected
|
|
protected
string
|
#
_getRefererUrl( )
Identify referer url via all accepted methods (HTTP_REFERER, regular or base64-encoded request param) |
protected
boolean
|
|
protected
string
|
|
protected
boolean
|
|
protected
boolean
|
|
protected
|
|
protected
|
#
_renderTitles( )
Prepare titles in the 'head' layout block Supposed to work only in actions where layout is rendered Falls back to the default logic if there are no titles eventually |
protected
array
|
#
_filterDates( array $array, array $dateFields )
Convert dates in array from localized to internal format |
protected
array
|
#
_filterDateTime( array $array, array $dateFields )
Convert dates with time in array from localized to internal format |
protected
|
#
_prepareDownloadResponse( string $fileName, string|array $content, string $contentType = 'application/octet-stream', integer $contentLength = null )
Declare headers and content file in response for file download |
string |
FLAG_NO_CHECK_INSTALLATION
|
'no-install-check' |
|
string |
FLAG_NO_DISPATCH
|
'no-dispatch' |
|
string |
FLAG_NO_PRE_DISPATCH
|
'no-preDispatch' |
|
string |
FLAG_NO_POST_DISPATCH
|
'no-postDispatch' |
|
string |
FLAG_NO_START_SESSION
|
'no-startSession' |
|
string |
FLAG_NO_DISPATCH_BLOCK_EVENT
|
'no-beforeGenerateLayoutBlocksDispatch' |
|
string |
FLAG_NO_COOKIES_REDIRECT
|
'no-cookies-redirect' |
|
string |
PARAM_NAME_SUCCESS_URL
|
'success_url' |
|
string |
PARAM_NAME_ERROR_URL
|
'error_url' |
|
string |
PARAM_NAME_REFERER_URL
|
'referer_url' |
|
string |
PARAM_NAME_BASE64_URL
|
'r64' |
|
string |
PARAM_NAME_URL_ENCODED
|
'uenc' |
|
string |
PROFILER_KEY
|
'mage::dispatch::controller::action' |
protected
Zend_Controller_Request_Abstract
|
$_request |
|
#
Request object |
protected
Zend_Controller_Response_Abstract
|
$_response |
|
#
Response object |
protected
string
|
$_realModuleName |
|
#
Real module name (like 'Mage_Module') |
protected
array
|
$_flags | array() |
#
Action flags |
protected
array
|
$_cookieCheckActions | array() |
#
Action list where need check enabled cookie |
protected
string
|
$_currentArea |
|
#
Currently used area |
protected
string
|
$_sessionNamespace |
|
#
Namespace for session. Should be defined for proper working session. |
protected
boolean
|
$_isLayoutLoaded | false |
#
Whether layout is loaded |
protected
array
|
$_titles | array() |
#
Title parts to be rendered in the page head title |
protected
boolean
|
$_removeDefaultTitle | false |
#
Whether the default title should be removed |