Beispiel #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/Model/Select.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    MQPiDqpargRkDBPM('3e924bf6b3fac9f835367b12f2725da3');
    class AdjustWare_Nav_Model_Select extends Zend_Db_Select
    {
        public function __construct()
        {
        }
        public function setPart($part, $val)
        {
            $this->_parts[$part] = $val;
        }
    }
}
Beispiel #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/Catalog/Layer/Filter/Attribute.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    MQPiDqpargRkDBPM('de30395b9b1d4b6f27155e733f9e638c');
    class AdjustWare_Nav_Model_Catalog_Layer_Filter_Attribute extends Mage_Catalog_Model_Layer_Filter_Attribute
    {
        private static $_filterAttributes = array();
        private static $_filterProducts = array();
        public function __construct()
        {
            parent::__construct();
        }
        public function apply(Zend_Controller_Request_Abstract $request, $filterBlock)
        {
            $filter = Mage::helper('adjnav')->getParam($this->_requestVar);
            $filter = explode('-', $filter);
            $ids = array();
            foreach ($filter as $id) {
                $id = intVal($id);
                if ($id) {
                    $ids[] = $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/Model/Rewrite/CatalogResourceEavMysql4ProductIndexerEavSource.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    MQPiDqpargRkDBPM('9e9d52dac36b0f863ed0d05ea965e9cf');
    class AdjustWare_Nav_Model_Rewrite_CatalogResourceEavMysql4ProductIndexerEavSource extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Eav_Source
    {
        /** Reindex updated product children also with configurable update
         * 
         * @author ksenevich@aitoc.com
         */
        public function reindexEntities($processIds)
        {
            if (!is_array($processIds)) {
                $processIds = array($processIds);
            }
            $childIds = $this->getRelationsByParent($processIds);
            if ($childIds) {
                $processIds = array_unique(array_merge($processIds, $childIds));
            }
            return parent::reindexEntities($processIds);
        }
    }
}
<?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/Collection.php
 * Copyright:   (c) 2013 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Nav')) {
    MQPiDqpargRkDBPM('95213c3a473d1459db20e6a3b8a3d748');
    /**
     * 
     * @author ksenevich
     */
    class AdjustWare_Nav_Model_Mysql4_Eav_Entity_Attribute_Stat_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
    {
        public function _construct()
        {
            $this->_init('adjnav/eav_entity_attribute_stat');
        }
        public function setStoreId()
        {
            return $this;
        }
    }
}