Example #1
0
 protected function initConfigGroup()
 {
     $this->configGroup = $this->getGroup();
     if ($this->configGroup === null) {
         $elementGroup = $this->element->getGroup();
         $this->configGroup = $elementGroup;
     }
 }
Example #2
0
 /**
  * Return header title part of html for payment solution
  *
  * @param Varien_Data_Form_Element_Abstract $element
  * @return string
  */
 protected function _getHeaderTitleHtml($element)
 {
     $group = (array) $element->getGroup();
     $logo = $group['method'];
     return '<div class="entry-edit-head collapseable" ><a id="' . $element->getHtmlId() . '-head" href="#" onclick="Fieldset.toggleCollapse(\'' . $element->getHtmlId() . '\', \'' . $this->getUrl('*/*/state') . '\'); return false;"><img src=' . $this->getSkinUrl('images/ratepay/' . $logo . '.png', array('_secure' => true)) . ' alt="" /></a></div>';
 }