/** * Initialize collection */ protected function _construct() { parent::_construct(); $this->setRowIdFieldName('selection_id'); $this->_selectionTable = $this->getTable('bundle/selection'); }
/** * 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'); }
/** * Initialize resources * */ protected function _construct() { $this->_init('listrak/product'); parent::_construct(); }