<?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/FrontCatalogLayerView.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('3532529e774f9b7bffbfa9a4a10d4d8f');
    class AdjustWare_Nav_Block_Rewrite_FrontCatalogLayerView extends Mage_Catalog_Block_Layer_View
    {
    }
}
<?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/Rewrite/CatalogResourceEavMysql4ProductIndexerEav.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('ab11072a87cb1bef7a31ab4fae2a0470');
    class AdjustWare_Nav_Model_Rewrite_CatalogResourceEavMysql4ProductIndexerEav extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav
    {
        protected function _construct()
        {
            parent::_construct();
            $this->getIndexers();
            $this->_types['configurable'] = Mage::getResourceModel('adjnav/catalog_product_indexer_configurable');
        }
    }
}
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/Cron.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('748ffca6ec6c7eb8f77f7f109da81a2c');
    class AdjustWare_Nav_Model_Cron extends Mage_Core_Model_Abstract
    {
        public function _construct()
        {
            $this->_init('adjnav/cron');
        }
        public function canRunJob($code)
        {
            $this->load($code);
            if (time() - strtotime($this->getLastRun()) > Mage::helper('adjnav/featured')->collectPeriod() * 60) {
                return true;
            }
            return false;
        }
    }
}
<?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/FrontCatalogsearchResult.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('3de73cd6560d1ee09a184fde18168e2f');
    class AdjustWare_Nav_Block_Rewrite_FrontCatalogsearchResult extends Mage_CatalogSearch_Block_Result
    {
        /**
         * Retrieve Search result list HTML output, wrapped with <div>
         *
         * @return string
         */
        public function getProductListHtml()
        {
            $html = parent::getProductListHtml();
            $html = Mage::helper('adjnav')->wrapProducts($html);
            return $html;
        }
        /**
         * Set Search Result collection
         *
         * @return Mage_CatalogSearch_Block_Result
         */
        public function setListCollection()
Example #5
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/Block/Catalogsearch/Layer.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('2ed961bf18391dc037c917a3ddbf89f8');
    class AdjustWare_Nav_Block_Catalogsearch_Layer extends AdjustWare_Nav_Block_Rewrite_EnterpriseSearchCatalogsearchLayer
    {
        //    public function getLayer()
        //    {
        //return Mage::getSingleton('catalogsearch/layer');
        //        return parent::getLayer();
        //    }
        /**
         * Check availability display layer block
         *
         * @return bool
         */
        public function canShowBlock()
        {
            $availableResCount = (int) Mage::app()->getStore()->getConfig(Mage_CatalogSearch_Model_Layer::XML_PATH_DISPLAY_LAYER_COUNT);
            if (!$availableResCount || $availableResCount >= $this->getLayer()->getProductCollection()->getSize()) {
                return parent::canShowBlock();
            }
            return false;
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/System/Config/Source/Price.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('811ab5b7a4ca8794a8ada9532576bdb6');
    class AdjustWare_Nav_Model_System_Config_Source_Price extends Varien_Object
    {
        public function toOptionArray()
        {
            $options = array();
            $options[] = array('value' => 'default', 'label' => Mage::helper('adjnav')->__('Default'));
            $options[] = array('value' => 'slider', 'label' => Mage::helper('adjnav')->__('Slider'));
            $options[] = array('value' => 'input', 'label' => Mage::helper('adjnav')->__('Input'));
            return $options;
        }
    }
}
Example #7
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/Cron.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('d9eafcef12c8ce38bd80d7cf2b12159b');
    class AdjustWare_Nav_Model_Mysql4_Cron extends Mage_Core_Model_Mysql4_Abstract
    {
        public function _construct()
        {
            $this->_init('adjnav/cron', 'code');
        }
    }
}
Example #8
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/Cron/Collection.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('3dabb3a22a8ebc4c88b1ca1a1848d1bd');
    /**
     * 
     * @author ksenevich
     */
    class AdjustWare_Nav_Model_Mysql4_Cron_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
    {
        public function _construct()
        {
            $this->_init('adjnav/cron');
        }
        public function setStoreId()
        {
            return $this;
        }
    }
}
<?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/controllers/CategoryController.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    mREwjpoZaMTrjgEm('dbfa91d9801a1b948e22b383b5fa927d');
    class AdjustWare_Nav_CategoryController extends Mage_Core_Controller_Front_Action
    {
        public function viewAction()
        {
            // init category
            $categoryId = (int) $this->getRequest()->getParam('id', false);
            if (!$categoryId) {
                $this->_forward('noRoute');
                return;
            }
            $category = Mage::getModel('catalog/category')->setStoreId(Mage::app()->getStore()->getId())->load($categoryId);
            Mage::register('current_category', $category);
            $this->getLayout()->createBlock('adjnav/catalog_layer_view');
            $this->loadLayout();
            $this->renderLayout();
        }
    }
}