<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Model/Eav/Entity/Attribute/Stat.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { gNWoZhqrkBQyZeWg('72b45591ddc370275c8ba4e024318b32'); /** * @author ksenevich */ class AdjustWare_Nav_Model_Eav_Entity_Attribute_Stat extends Mage_Core_Model_Abstract { protected function _construct() { $this->_init('adjnav/eav_entity_attribute_stat'); } public function rangeAttributes($attributes) { $sortedAttributes = array(); $featuredLimit = Mage::helper('adjnav/featured')->getFeaturedAttrsLimit(); $iteration = 0; $featuredLimitDisabled = 0 == $featuredLimit; if (Mage::helper('adjnav/featured')->isRangeAttributes()) { $collection = $this->getCollection()->addFieldToFilter('attribute_id', array('in' => array_keys($attributes)))->addOrder('uses', 'DESC'); foreach ($collection->getItems() as $item) { $attribute = $attributes[$item->getAttributeId()];
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Block/Rewrite/FrontCatalogProductList.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { gNWoZhqrkBQyZeWg('ac62b458de198af2c4a1ce0fa195a7bb'); class AdjustWare_Nav_Block_Rewrite_FrontCatalogProductList extends Mage_Catalog_Block_Product_List { public function __construct() { parent::__construct(); if (Mage::helper('adjnav')->isModuleEnabled('Aitoc_Aitproductslists')) { $this->setTemplate('aitcommonfiles/design--frontend--base--default--template--catalog--product--list.phtml'); } else { $this->setTemplate('catalog/product/list.phtml'); } } } }
<?php /** * Product: Layered Navigation Pro for Enterprise Edition - 16/08/12 * Package: AdjustWare_Nav_10.4.9_10.0.0_557110 * Purchase ID: hXgQU3oI8FOfJ8PDCk5s6h6XPM5oH2Kx0N6TCAPkqN * Generated: 2013-04-22 06:59:44 * File path: app/code/local/AdjustWare/Nav/Model/Mysql4/Catalog/Layer/Filter/Decimal.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { gNWoZhqrkBQyZeWg('2ee2f14ea41507154998cc68b354fa34'); class AdjustWare_Nav_Model_Mysql4_Catalog_Layer_Filter_Decimal extends Mage_Catalog_Model_Resource_Eav_Mysql4_Layer_Filter_Decimal { public function applyPriceRange($filter) { return $this; } } }