Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $eav_name = Mage::getModel('catalog/resource_eav_attribute')->loadByCode('catalog_product', 'visibility');
     $this->setAttribute($eav_name);
 }