本文整理汇总了PHP中Mage_Payment_Block_Info::_construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Payment_Block_Info::_construct方法的具体用法?PHP Mage_Payment_Block_Info::_construct怎么用?PHP Mage_Payment_Block_Info::_construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Payment_Block_Info
的用法示例。
在下文中一共展示了Mage_Payment_Block_Info::_construct方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _construct
protected function _construct()
{
parent::_construct();
$this->setInfoMessage(Mage::helper('vtmandiri/data')->_getInfoTypeIsImage() == true ? '<img src="' . $this->getSkinUrl('images/Veritrans.png') . '"/>' : '<b>' . Mage::helper('vtmandiri/data')->_getTitle() . '</b>');
$this->setPaymentMethodTitle(Mage::helper('vtmandiri/data')->_getTitle());
$this->setTemplate('vtmandiri/info.phtml');
}
示例2: _construct
protected function _construct()
{
parent::_construct();
// This is the default template we want to use for this block. We need to set it here as this block
// is instantiated by core directly rather than in layout
$this->setTemplate('fontis/australia/payment/bpay/info.phtml');
}
示例3: _construct
protected function _construct()
{
parent::_construct();
/*
$this->setTemplate('webpos/admin/webpos/payment/method/info/cash.phtml');
*/
}
示例4: _construct
protected function _construct()
{
parent::_construct();
$this->setTemplate('payex/partpayment/info.phtml');
// Template for Checkout page
if ($this->getRequest()->getRequestedActionName() === 'progress') {
$this->setTemplate('payex/partpayment/title.phtml');
}
}
示例5: _construct
/**
* Construct payment info block and set template
*
* @return void
*/
protected function _construct()
{
parent::_construct();
/* @var $helper Itabs_Debit_Helper_Data */
$helper = Mage::helper('debit');
if ($helper->getDebitType() == Itabs_Debit_Helper_Data::DEBIT_TYPE_SEPA) {
$this->setTemplate('debit/sepa/info.phtml');
} else {
$this->setTemplate('debit/info.phtml');
}
}
示例6: _construct
protected function _construct()
{
parent::_construct();
$controllerName = $this->getRequest()->getControllerName();
if (Mage::getDesign()->getArea() == 'adminhtml' && strstr($controllerName, 'memo') !== FALSE) {
$this->setTemplate('customweb/saferpaycw/info_creditmemo.phtml');
} else {
if (Mage::getDesign()->getArea() == 'adminhtml' && (strstr($controllerName, 'invoice') !== FALSE || strstr($controllerName, 'editsaferpaycw') !== FALSE)) {
$this->setTemplate('customweb/saferpaycw/info_invoice.phtml');
} else {
$this->setTemplate('customweb/saferpaycw/info.phtml');
}
}
}
示例7: _construct
public function _construct()
{
parent::_construct();
$this->setTemplate('bitpay/info/default.phtml');
}
示例8: _construct
/**
* Constructor. Set template.
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('moneybookers/info.phtml');
}
示例9: _construct
/**
* Set block template
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('capayable/info.phtml');
}
示例10: _construct
protected function _construct()
{
parent::_construct();
}
示例11: _construct
/**
* Init default template for block
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('adyen/info/sepa.phtml');
}
示例12: _construct
/**
* Init ops payment information block
*
*/
protected function _construct()
{
parent::_construct();
$this->setTemplate('postfinance/info/redirect.phtml');
}