public function render(Varien_Object $filter)
 {
     /** @var Amasty_Shopby_Model_Filter $filter */
     $url = $this->helper('adminhtml')->getUrl('adminhtml/catalog_product_attribute/edit', array('attribute_id' => $filter->getAttributeId()));
     return $filter->getAttributeCode() . ' <a href="' . $url . '" style="float:right;"><button type="button">Edit Attribute</button></a>';
 }
Example #2
0
 /**
  * @param Varien_Object $attribute
  * @return mixed
  */
 public function getAttributeRequestVar(Varien_Object $attribute)
 {
     return $attribute->getAttributeCode();
 }