/** * Initialize Grid * */ public function __construct() { parent::__construct(); $this->setId('source_wishlist'); $this->setDefaultSort('added_at'); $this->setData('open', true); $this->setHeaderText(Mage::helper('enterprise_checkout')->__('Wishlist (%s)', $this->getItemsCount())); }
/** * Block initializing, grid parameters */ public function __construct() { parent::__construct(); $this->setId('source_products'); $this->setDefaultSort('entity_id'); $this->setPagerVisibility(true); $this->setFilterVisibility(true); $this->setHeaderText(Mage::helper('enterprise_checkout')->__('Products')); }
/** * Initialize Grid * */ public function __construct() { parent::__construct(); $this->setId('source_ordered'); $this->setHeaderText(Mage::helper('enterprise_checkout')->__('Last ordered items (%s)', $this->getItemsCount())); }
/** * Initialize Grid */ public function __construct() { parent::__construct(); $this->setId('source_rviewed'); $this->setHeaderText(Mage::helper('enterprise_checkout')->__('Recently Viewed Products (%s)', $this->getItemsCount())); }
public function __construct() { parent::__construct(); $this->setId('source_compared'); $this->setHeaderText(Mage::helper('enterprise_checkout')->__('Products in the Comparison List (%s)', $this->getItemsCount())); }