コード例 #1
0
ファイル: Collection.php プロジェクト: shebin512/Magento_Zoff
 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
ファイル: Collection.php プロジェクト: shebin512/Magento_Zoff
 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
ファイル: Collection.php プロジェクト: enjoy2000/gemz
 /**
  * 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
ファイル: Collection.php プロジェクト: shebin512/Magento_Zoff
 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
ファイル: Collection.php プロジェクト: ramantalkin/tmp01skin
 /**
  * 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
ファイル: Collection.php プロジェクト: hueyl77/fourwindsgear
 public function _construct()
 {
     parent::_construct();
     $this->_init('payperrentals/rentalqueue');
     if (!Mage::app()->isSingleStoreMode() && Mage::app()->getStore()->getId()) {
         $this->setStoreId(Mage::app()->getStore()->getId());
     }
 }
コード例 #7
0
 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
ファイル: Collection.php プロジェクト: xiaoguizhidao/magento
 public function _construct()
 {
     parent::_construct();
     if ($storeId = Mage::app()->getStore()->getId()) {
         $this->setStoreId($storeId);
     }
     $this->_init('membership/package');
 }
コード例 #10
0
ファイル: Collection.php プロジェクト: Gilbertoavitia1/AHBS
 public function _construct()
 {
     parent::_construct();
     if ($storeId = Mage::app()->getStore()->getId()) {
         $this->setStoreId($storeId);
     }
     $this->_init('bannerslider/banner');
 }
コード例 #11
0
ファイル: Collection.php プロジェクト: Thinlt/simicart
 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');
 }
コード例 #14
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');
     // 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';
 }
コード例 #15
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('amseogooglesitemap/sitemap');
 }
コード例 #16
0
ファイル: Collection.php プロジェクト: par-orillonsoft/app
 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
ファイル: Collection.php プロジェクト: shebin512/Magento_Zoff
 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
ファイル: Collection.php プロジェクト: Gilbertoavitia1/AHBS
 public function _construct()
 {
     parent::_construct();
     $this->_init('affiliate/affiliatebonus');
 }
コード例 #24
0
ファイル: Collection.php プロジェクト: rcclaudrey/dev
 public function _construct()
 {
     parent::_construct();
     $this->_init('conversionpro/cache');
 }
コード例 #25
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/TemplatesAttributeSets');
 }
コード例 #26
0
ファイル: Collection.php プロジェクト: par-orillonsoft/app
 public function _construct()
 {
     parent::_construct();
     $this->_init('M2ePro/Feedbacks');
 }
コード例 #27
0
ファイル: Collection.php プロジェクト: xiaoguizhidao/magento
 public function _construct()
 {
     parent::_construct();
     $this->_init('awcore/logger');
 }
コード例 #28
0
ファイル: Collection.php プロジェクト: sshegde123/wmp8
 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');
 }