예제 #1
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('slideshow/category');
     $this->_map['fields']['category_id'] = 'main_table.category_id';
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
예제 #2
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('gosf/gosf');
     $this->_map['fields']['value_id'] = 'main_table.value_id';
     //$this->_map['fields']['store']   = 'store_table.store_id';
 }
예제 #3
0
 /**
  * Initialize custom resource model
  */
 public function __construct()
 {
     parent::_construct();
     $this->setModel('adminhtml/report_item');
     $this->_resource = Mage::getResourceModel('sales/order_item');
     $this->setConnection($this->getResource()->getReadConnection());
 }
예제 #4
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('designer/designer');
     $this->_map['fields']['value_id'] = 'main_table.value_id';
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
예제 #5
0
 /**
  * Initialize custom resource model
  */
 public function __construct()
 {
     parent::_construct();
     $this->setModel('adminhtml/report_item');
     $this->_resource = Mage::getResourceModel('advancedreports/salesbyhour')->init('advancedreports/salesbyhour');
     $this->setConnection($this->getResource()->getReadConnection());
 }
예제 #6
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('payperrentals/rentalqueue');
     if (!Mage::app()->isSingleStoreMode() && Mage::app()->getStore()->getId()) {
         $this->setStoreId(Mage::app()->getStore()->getId());
     }
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('rocketweb_search/query');
     $this->_map['fields']['query_id'] = 'main_table.query_id';
     $this->_map['fields']['store'] = 'store_table.store_id';
     $this->_map['fields']['sku'] = 'sku_table.store_id';
 }
예제 #8
0
 /**
  * Constructor
  *
  * Configures collection
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_subscriberTable = Mage::getSingleton('core/resource')->getTableName('newsletter/subscriber');
     $this->_queueLinkTable = Mage::getSingleton('core/resource')->getTableName('newsletter/queue_link');
     $this->_storeTable = Mage::getSingleton('core/resource')->getTableName('core/store');
     $this->_init('newsletter/subscriber');
 }
예제 #9
0
 public function _construct()
 {
     parent::_construct();
     if ($storeId = Mage::app()->getStore()->getId()) {
         $this->setStoreId($storeId);
     }
     $this->_init('membership/package');
 }
예제 #10
0
 public function _construct()
 {
     parent::_construct();
     if ($storeId = Mage::app()->getStore()->getId()) {
         $this->setStoreId($storeId);
     }
     $this->_init('bannerslider/banner');
 }
예제 #11
0
 public function _construct()
 {
     parent::_construct();
     if ($storeId = Mage::app()->getStore()->getId()) {
         $this->setStoreId($storeId);
     }
     //var_dump($storeId);die();
     $this->_init('productfile/productfile');
 }
예제 #12
0
 /**
  * Load Default Constructor
  */
 public function _construct()
 {
     /**
      * Load Parent Constructor
      */
     parent::_construct();
     /**
      * Initialize sellerreview Block
      */
     $this->_init('marketplace/sellerreview');
 }
예제 #13
0
 /**
  * Load Default Constructor
  */
 public function _construct()
 {
     /**
      * Load Parent Constructor
      */
     parent::_construct();
     /**
      * Initialize Marketplace Block
      */
     $this->_init('marketplace/marketplace');
 }
 /**
  * Constructor
  *
  * Configures collection
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_subscriberTable = Mage::getSingleton('core/resource')->getTableName('newsletter/subscriber');
     $this->_queueLinkTable = Mage::getSingleton('core/resource')->getTableName('newsletter/queue_link');
     $this->_storeTable = Mage::getSingleton('core/resource')->getTableName('core/store');
     $this->_init('newsletter/subscriber');
     // defining mapping for fields represented in several tables
     $this->_map['fields']['customer_lastname'] = 'customer_lastname_table.value';
     $this->_map['fields']['customer_firstname'] = 'customer_firstname_table.value';
     $this->_map['fields']['type'] = 'IF(main_table.customer_id = 0, 1, 2)';
     $this->_map['fields']['website_id'] = 'store.website_id';
     $this->_map['fields']['group_id'] = 'store.group_id';
     $this->_map['fields']['store_id'] = 'main_table.store_id';
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('amseogooglesitemap/sitemap');
 }
예제 #16
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/ListingsTemplatesShippings');
 }
예제 #17
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('sarp/sequence');
 }
예제 #18
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('bis2ship/shippingtables');
 }
예제 #19
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('helpdeskultimate/ticket_flat');
 }
예제 #20
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('corporate/corporate');
 }
예제 #21
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('textcommercemessagelog/textcommercemessagelog');
 }
예제 #22
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('webpos/user');
 }
예제 #23
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('affiliate/affiliatebonus');
 }
예제 #24
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('conversionpro/cache');
 }
예제 #25
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/TemplatesAttributeSets');
 }
예제 #26
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/Feedbacks');
 }
예제 #27
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('awcore/logger');
 }
예제 #28
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('advancedslider/sliders');
 }
예제 #29
0
파일: Collection.php 프로젝트: ahsanmage/vr
 public function _construct()
 {
     parent::_construct();
     $this->_init('quickshop/quickshop');
 }
예제 #30
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('onestepcheckout/onestepcheckout');
 }