Пример #1
0
 /**
  * Initialize collection
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setRowIdFieldName('selection_id');
     $this->_selectionTable = $this->getTable('bundle/selection');
 }
Пример #2
0
 /**
  * Add web2print_document_id to collection when exists 
  */
 public function _construct()
 {
     parent::_construct();
     $this->addAttributeToSelect('web2print_document_id');
 }
 protected function _construct()
 {
     parent::_construct();
     $this->_linkTable = $this->getTable('catalog/product_super_link');
 }
Пример #4
0
 /**
  * Initialize resources
  *
  */
 protected function _construct()
 {
     $this->_init('listrak/product');
     parent::_construct();
 }