Example #1
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 22/05/12
 * Package:     AdjustWare_Cartalert_3.0.7_0.2.3_397295
 * Purchase ID: z5YXD3ukNeCswAIzzfleVbg4dF1tD99hcVluCaOu0k
 * Generated:   2012-10-10 10:37:37
 * File path:   app/code/local/AdjustWare/Cartalert/Model/Mysql4/Cartalert/Collection.php
 * Copyright:   (c) 2012 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    ikiciBqCaeeqIakY('5066763fc9f22e4ae475f8f95eb95e16');
    /**
     * Cartalert module observer
     *
     * @author Adjustware
     */
    class AdjustWare_Cartalert_Model_Mysql4_Cartalert_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
    {
        public function _construct()
        {
            parent::_construct();
            $this->_init('adjcartalert/cartalert');
        }
        public function addReadyForSendingFilter()
        {
            $this->getSelect()->where('sheduled_at < ?', now());
            //->where('status = ?', 'pending');
            return $this;
        }
    }
Example #2
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 22/05/12
 * Package:     AdjustWare_Cartalert_3.0.7_0.2.3_397295
 * Purchase ID: z5YXD3ukNeCswAIzzfleVbg4dF1tD99hcVluCaOu0k
 * Generated:   2012-10-10 10:37:37
 * File path:   app/code/local/AdjustWare/Cartalert/Model/Customer/Account/Observer.php
 * Copyright:   (c) 2012 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    ikiciBqCaeeqIakY('e40a59ace5be1879660420d5a84d42d7');
    class AdjustWare_Cartalert_Model_Customer_Account_Observer extends Mage_Core_Model_Abstract
    {
        public function onControllerFrontInitRouters($observer)
        {
            if (!Mage::registry('aitpagecache_check_14') && Mage::getConfig()->getNode('modules/Aitoc_Aitpagecache/active') === 'true') {
                if (file_exists(Mage::getBaseDir('magentobooster') . DS . 'use_cache.ser')) {
                    Mage::register('aitpagecache_check_14', 1);
                } elseif (file_exists(Mage::getBaseDir('app/etc') . DS . 'use_cache.ser')) {
                    Mage::register('aitpagecache_check_13', 1);
                }
            }
        }
    }
}
Example #3
0
<?php

/**
 * Product:     Abandoned Carts Alerts Pro for 1.3.x-1.7.0.0 - 22/05/12
 * Package:     AdjustWare_Cartalert_3.0.7_0.2.3_397295
 * Purchase ID: z5YXD3ukNeCswAIzzfleVbg4dF1tD99hcVluCaOu0k
 * Generated:   2012-10-10 10:37:37
 * File path:   app/code/local/AdjustWare/Cartalert/Model/History.php
 * Copyright:   (c) 2012 AITOC, Inc.
 */
if (Aitoc_Aitsys_Abstract_Service::initSource(__FILE__, 'AdjustWare_Cartalert')) {
    ikiciBqCaeeqIakY('cc0ccd9a12a6a1d063c0a0704a9e0cba');
    class AdjustWare_Cartalert_Model_History extends Mage_Core_Model_Abstract
    {
        public function _construct()
        {
            parent::_construct();
            $this->_init('adjcartalert/history');
        }
    }
}