/** * Save data for batche-product relation * @access public * @param Ultimate_ordersBatches_Model_Batche $batche * @return Ultimate_ordersBatches_Model_Batche_Product * @author Ultimate Module Creator */ public function saveBatcheRelation($batche) { $data = $batche->getProductsData(); if (!is_null($data)) { $this->_getResource()->saveBatcheRelation($batche, $data); } return $this; }