本文整理汇总了PHP中Mage_Core_Controller_Front_Action::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Core_Controller_Front_Action::_construct方法的具体用法?PHP Mage_Core_Controller_Front_Action::_construct怎么用?PHP Mage_Core_Controller_Front_Action::_construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Core_Controller_Front_Action
的用法示例。
在下文中一共展示了Mage_Core_Controller_Front_Action::_construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _construct
/**
* prepare instances of the config model and the helper.
*/
protected function _construct()
{
parent::_construct();
$this->_helper = Mage::helper('ebayenterprise_paypal');
$this->_config = $this->_helper->getConfigModel();
$this->_logger = Mage::helper('ebayenterprise_magelog');
$this->_context = Mage::helper('ebayenterprise_magelog/context');
}
示例2: _construct
public function _construct()
{
parent::_construct();
if (!Mage::helper('mw_socialgift')->isEnabled()) {
Mage::app()->getResponse()->setRedirect(Mage::getBaseUrl());
}
$request = $this->getRequest();
}
示例3: _construct
public function _construct()
{
$this->consumer_key = '460fea519c74df2b';
$this->consumer_secret = 'c1642d34f7f9fb682e2991fd1f4388f9';
$this->baseUrl = 'http://api.tudou.com/v3/';
$this->siteUrl = 'http://api.tudou.com/auth';
$this->callback = 'http://arvato.cosmocommerce.com/sns/tudou/callback/';
$this->config = array('callbackUrl' => $this->callback, 'siteUrl' => $this->siteUrl, 'consumerKey' => $this->consumer_key, 'consumerSecret' => $this->consumer_secret);
return parent::_construct();
}
示例4: SuccessAction
public function SuccessAction()
{
parent::_construct();
$this->loadLayout();
$block = $this->getLayout()->createBlock('mpexpress/information_success')->setTemplate('mpexpress/information/success.phtml');
$this->getLayout()->getBlock('content')->append($block);
$root = $this->getLayout()->getBlock('root');
$template = "page/1column.phtml";
$root->setTemplate($template);
$this->renderLayout();
}
示例5: _construct
public function _construct()
{
parent::_construct();
$this->root_path = Mage::helper('debug')->getRootPath();
$this->directory_separator = Mage::helper('debug')->getDirectorySeparator();
}
示例6: nomethodAction
public function nomethodAction()
{
parent::_construct();
$this->loadLayout();
$this->renderLayout();
}
示例7: _construct
public function _construct()
{
return parent::_construct();
}
示例8: _construct
/**
* Instantiate config
*/
protected function _construct()
{
$this->logger = Ideasa_Base_Logger::getLogger(__CLASS__);
parent::_construct();
}
示例9: _construct
/**
* Protected construct method
*
* @return void
*/
protected function _construct()
{
parent::_construct();
$this->helper = Mage::helper('solvingmagento_affiliateproduct');
}
示例10: _construct
/**
* Instantiate config
*/
protected function _construct()
{
parent::_construct();
$this->_config = Mage::getModel('paypal/config', array(Mage_Paypal_Model_Config::METHOD_WPP_EXPRESS));
}
示例11: _construct
/**
* Instantiate config
*/
protected function _construct()
{
parent::_construct();
}
示例12: _construct
/**
* Construct
*/
public function _construct()
{
parent::_construct();
}
示例13: _construct
/**
* Disable layout for all controller actions
* @see Mage_Core_Controller_Varien_Action::_construct()
*/
public function _construct()
{
parent::_construct();
$this->loadLayout(false);
$this->renderLayout();
}
示例14: _construct
/**
* Instantiate config
*/
protected function _construct()
{
parent::_construct();
$parameters = array('params' => array($this->_configMethod));
$this->_config = Mage::getModel($this->_configType, $parameters);
}
示例15: _construct
/**
* Get Mollie core
*/
public function _construct()
{
$this->_api = Mage::Helper('mpm/api');
$this->_model = Mage::getModel('mpm/api');
parent::_construct();
}