Esempio n. 1
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/Catalog/Layer/Filter/Category.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    eAVqrcwyPjfMrDVe('779698b9fa2a0ea1391ab9e621faf22b');
    class AdjustWare_Nav_Block_Catalog_Layer_Filter_Category extends Mage_Catalog_Block_Layer_Filter_Category
    {
        public function __construct()
        {
            parent::__construct();
            $this->setTemplate('adjnav/filter_category.phtml');
            $this->_filterModelName = 'adjnav/catalog_layer_filter_category';
        }
        public function getVar()
        {
            return $this->_filter->getRequestVar();
        }
        public function addFacetCondition()
        {
            $this->_filter->addFacetCondition();
            return $this;
        }
        public function getClearUrl()
        {
Esempio n. 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/Mysql4/Eav/Entity/Attribute/Stat.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    eAVqrcwyPjfMrDVe('153f3187881be29fb83b1b67eb24f73b');
    /**
     * 
     * @author ksenevich
     */
    class AdjustWare_Nav_Model_Mysql4_Eav_Entity_Attribute_Stat extends Mage_Core_Model_Mysql4_Abstract
    {
        protected function _construct()
        {
            $this->_init('adjnav/eav_attribute_stat', 'attribute_id');
        }
    }
}
<?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/FrontCatalogProductListToolbar.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    eAVqrcwyPjfMrDVe('8ccf3a80f8fca47564282a25578a3b33');
    class AdjustWare_Nav_Block_Rewrite_FrontCatalogProductListToolbar extends Mage_Catalog_Block_Product_List_Toolbar
    {
        protected function _beforeToHtml()
        {
            $this->getRequest()->setParam('cat', '');
            if (Mage::helper('adjnav')->isPageAutoload()) {
                $this->setTemplate('adjnav/product_list_toolbar.phtml');
            }
            return parent::_beforeToHtml();
        }
        public function getLimit()
        {
            if (Mage::helper('adjnav')->isPageAutoload()) {
                $mode = $this->getCurrentMode();
                $limit = Mage::getStoreConfig('design/adjnav_endless_page/products_on_' . $mode . '_page');
                if ($limit) {
                    $this->setData('_current_limit', $limit);
                    return $limit;
                }