/**
  * Slider Collection Resource Constructor
  * @return void
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('antoinek_slider/slider');
     $this->_map['fields']['store'] = 'store_table.store_id';
     $this->_map['fields']['slider_id'] = 'main_table.slider_id';
 }
 /**
  * Constructor
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('esendex_sms/event');
     // Enable caching for collection
     $cache = Mage::app()->getCacheInstance();
     $this->initCache($cache, 'esendex_sms_collection', array(Esendex_Sms_Model_Event::CACHE_TAG));
 }
Beispiel #3
0
 protected function _construct()
 {
     parent::_construct();
     /**
      * Tell Magento the Model and Resource Model to use for this 
      * Collection. Since both aliases are the same we can ommit
      * the second paramater if we wished.
      */
     $this->_init('bhargav_accordion/accordion', 'bhargav_accordion/accordion');
 }
 protected function _construct()
 {
     parent::_construct();
     /**
      * Tell Magento the Model and Resource Model to use for this 
      * Collection. Since both aliases are the same we can ommit
      * the second paramater if we wished.
      */
     $this->_init('abhishek_mymodule/staff', 'abhishek_mymodule/staff');
 }
 protected function _construct()
 {
     parent::_construct();
     /**
      * Tell Magento the Model and Resource Model to use for this 
      * Collection. Since both aliases are the same we can ommit
      * the second paramater if we wished.
      */
     $this->_init('smashingmagazine_branddirectory/brand', 'smashingmagazine_branddirectory/brand');
 }
Beispiel #6
0
 protected function _construct()
 {
     parent::_construct();
     /**
      * Tell Magento the Model and Resource Model to use for this 
      * Collection. Since both aliases are the same we can ommit
      * the second paramater if we wished.
      */
     $this->_init('infobitsolutions_managevendor/mapping', 'infobitsolutions_managevendor/mapping');
 }
Beispiel #7
0
 /**
  * Constructor
  * Configures collection
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('newsletter/subscriber');
     $this->_queueLinkTable = $this->getTable('newsletter/queue_link');
     $this->_storeTable = $this->getTable('core/store');
     // 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'] = $this->getResource()->getReadConnection()->getCheckSql('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';
 }
 /**
  * Constructor
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('salesrule/coupon');
 }
Beispiel #9
0
 /**
  * constructor
  *
  * @access public
  * @return void
  * 
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('db1_anymarket/anymarketproducts');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
Beispiel #10
0
 /**
  * Define resource model
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('Mage_Core_Model_Layout_Link', 'Mage_Core_Model_Resource_Layout_Link');
 }
 /**
  * Collection constructor
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('salesrule/rule_product');
 }
Beispiel #12
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('mycdn/job');
 }
 /**
  * constructor.
  */
 public function _construct()
 {
     parent::_construct();
     $this->_init('ddg_automation/catalog');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->_init('ultimatenewmedia_social/review', 'ultimatenewmedia_social/review');
 }
 /**
  * constructor
  *
  * @access public
  * @return void
  * @author Ultimate Module Creator
  */
 public function _construct()
 {
     parent::_construct();
     $this->_init('ibrams_cmsextended/cmspage_comment');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
Beispiel #16
0
 /**
  * constructor
  * @access public
  * @return void
  * @author Marius Strajeru <*****@*****.**>
  */
 public function _construct()
 {
     parent::_construct();
     $this->_init('easylife_switcher/hashcode');
 }
 /**
  *  Define resource model
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('core/variable');
 }
 /**
  * constructor.
  */
 public function _construct()
 {
     parent::_construct();
     $this->_init('ddg_automation/wishlist');
 }
 /**
  * Constructor
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('widget/widget_instance');
 }
Beispiel #20
0
 public function _construct()
 {
     parent::_construct();
     $this->_init('ism_newstore_members/members');
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('deal/deal');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
Beispiel #22
0
 /**
  * Enter description here ...
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('catalogrule/rule_product_price');
 }
 public function _construct()
 {
     parent::_construct();
     $this->_init('milkman_deliveries/deliverytime');
 }
 /**
  * constructor
  *
  * @access public
  * @return void
  * @author Ultimate Module Creator
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('ibrams_cmsextended/page');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
 protected function _construct()
 {
     parent::_construct();
     $this->_init('customweb_subscription/schedule');
 }
 /**
  * constructor
  * @access public
  * @return void
  * @author Ultimate Module Creator
  */
 public function _construct()
 {
     parent::_construct();
     $this->_init('shippingg/shippingrate');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }
 /**
  * Initialize collection items factory class
  */
 protected function _construct()
 {
     $this->_init('paypal/payment_transaction');
     parent::_construct();
 }
 /**
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('esendex_sms/trigger');
 }
 protected function _construct()
 {
     $this->_init('adm_abandonedcart/tracker');
     return parent::_construct();
 }
Beispiel #30
0
 /**
  * constructor
  *
  * @access public
  * @return void
  * @author Ultimate Module Creator
  */
 protected function _construct()
 {
     parent::_construct();
     $this->_init('tech_blog/post');
     $this->_map['fields']['store'] = 'store_table.store_id';
 }