<?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/EnterpriseSearchCatalogsearchLayer.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('99e818f16e7d8c672cdf58c0bc8f4011');
    class AdjustWare_Nav_Block_Rewrite_EnterpriseSearchCatalogsearchLayer extends Enterprise_Search_Block_Catalogsearch_Layer
    {
        protected function _construct()
        {
            Mage::unregister('current_layer');
            parent::_construct();
        }
    }
}
Example #2
0
<?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/System/Config/Source/Category.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('f23a5841ce49da911507c4a02548583c');
    class AdjustWare_Nav_Model_System_Config_Source_Category extends Varien_Object
    {
        public function toOptionArray()
        {
            $options = array();
            $options[] = array('value' => 'breadcrumbs', 'label' => Mage::helper('adjnav')->__('Breadcrumbs'));
            $options[] = array('value' => 'none', 'label' => Mage::helper('adjnav')->__('None'));
            return $options;
        }
    }
}
Example #3
0
<?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/Option/Stat.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('6417e8c8e1b2e1d8ae29e178cbf60619');
    /**
     * @author ksenevich
     */
    class AdjustWare_Nav_Model_Eav_Entity_Attribute_Option_Stat extends Mage_Core_Model_Abstract
    {
        protected static $_sortedOptions;
        protected function _construct()
        {
            $this->_init('adjnav/eav_entity_attribute_option_stat');
        }
        public function addStat($optionIds)
        {
            $this->getResource()->addStat($optionIds);
            return $this;
        }
        public function recalculateStat()
        {
            $this->getResource()->recalculateStat();
            return $this;
Example #4
0
<?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/Catalog/Layer/Filter/Price.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('6b71f17e6d0b07a294dc12a1037c0cc2');
    class AdjustWare_Nav_Model_Catalog_Layer_Filter_Price extends Mage_Catalog_Model_Layer_Filter_Price
    {
        protected $baseSelect = null;
        protected $_isPricesFilterUpdated = false;
        protected $_priceDelimeter = ',';
        protected $_divisible = true;
        //for >= 1.12 with SOLR
        protected $_facets = array();
        //for >= 1.12 with SOLR
        public function __construct()
        {
            parent::__construct();
            if (method_exists($this, '_validateFilter')) {
                //magento 1.7+, 1.12+
                $this->_isPricesFilterUpdated = true;
                $this->_priceDelimeter = '-';
            }
        }
        public function getLayer()
<?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/Catalog/Layer/Filter/Categorysearch.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('2ecfeb20031ae6ab44f80d233ccbd5af');
    class AdjustWare_Nav_Block_Catalog_Layer_Filter_Categorysearch extends AdjustWare_Nav_Block_Catalog_Layer_Filter_Category
    {
        public function __construct()
        {
            parent::__construct();
            $this->setTemplate('adjnav/filter_category_search.phtml');
            $this->_filterModelName = 'adjnav/catalog_layer_filter_categorysearch';
        }
        public function addFacetCondition()
        {
            $this->_filter->addFacetCondition();
            return $this;
        }
    }
}
Example #6
0
<?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/Price.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    kUrqBiwjDyIZBmrk('80ef602b3b0f5554fa249c932f27828b');
    class AdjustWare_Nav_Model_Mysql4_Catalog_Layer_Filter_Price extends Mage_Catalog_Model_Resource_Eav_Mysql4_Layer_Filter_Price
    {
        /**
         * Retrieve array with products counts per price range
         * Should be used only from magento 1.4-1.6
         *
         * @param Mage_Catalog_Model_Layer_Filter_Price $filter
         * @param int $range
         * @return array
         */
        public function getCount($filter, $range)
        {
            $select = $this->_getSelect($filter);
            $connection = $this->_getReadAdapter();
            $response = $this->_dispatchPreparePriceEvent($filter, $select);
            $table = $this->_getIndexTableAlias();
            $additional = join('', $response->getAdditionalCalculations());
            $rate = $filter->getCurrencyRate();
            /**