<?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/Observer.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { yTkheoiDZmUaeMky('f2d6ee076f9d72ce8513ac735a0b6fdc'); class AdjustWare_Nav_Model_Observer { /** Add filters after all filters have applied for configurable products * * @param Varien_Event_Observer $observer * @author ksenevich@aitoc.com */ public function onCatalogProductCollectionLoadBefore(Varien_Event_Observer $observer) { /* @var $versionHelper AdjustWare_Nav_Helper_Version */ $versionHelper = Mage::helper('adjnav/version'); /* @var $collection Varien_Data_Collection_Db */ $collection = $observer->getEvent()->getCollection(); $adapter = $collection->getConnection(); $helper = Mage::helper('adjnav'); $filterAttributes = AdjustWare_Nav_Model_Catalog_Layer_Filter_Attribute::getFilterAttributes(); $filterProducts = AdjustWare_Nav_Model_Catalog_Layer_Filter_Attribute::getFilterProducts(); $configurableProducts = array(); $childByAttribute = array();
<?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/Helper/Featured.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { yTkheoiDZmUaeMky('2f88d6ba9948274bf94d12b52c77254f'); /** * * @author ksenevich */ class AdjustWare_Nav_Helper_Featured extends Mage_Core_Helper_Abstract { public function isAutoRange() { return Mage::getStoreConfig('design/adjnav_featured/collect_period') > 0; } public function collectPeriod() { return (int) Mage::getStoreConfig('design/adjnav_featured/collect_period'); } public function getFeaturedAttrsLimit() { return (int) Mage::getStoreConfig('design/adjnav_featured/featured_attrs_limit'); } public function getFeaturedValuesLimit()
<?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/FrontCatalogCategoryView.php * Copyright: (c) 2013 AITOC, Inc. */ if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) { yTkheoiDZmUaeMky('a16de3e97af56196315e65cbaf148024'); class AdjustWare_Nav_Block_Rewrite_FrontCatalogCategoryView extends Mage_Catalog_Block_Category_View { public function getProductListHtml() { $html = parent::getProductListHtml(); if (parent::getCurrentCategory()->getIsAnchor()) { $html = Mage::helper('adjnav')->wrapProducts($html); } return $html; } public function getCmsBlockHtml() { if (Mage::helper('adjnav')->bNeedClearAll()) { $html = parent::getProductListHtml(); } else { $html = parent::getCmsBlockHtml(); } if ($this->getCurrentCategory()->getIsAnchor() && $this->isContentMode()) { $html = Mage::helper('adjnav')->wrapProducts($html);