Example #1
0
 /**
  * [saveNewInfoProduct description]
  * @param  [type] $content      [description]
  * @param  [type] $product_name [description]
  * @param  [type] $id           [description]
  * @return [type]               [description]
  */
 public static function saveNewInfoProduct($content, $product_name, $id)
 {
     $value = new ProductInfomation();
     $value->name_product = $product_name;
     $value->value = $content;
     $value->product_id = $id;
     $value->save();
     return true;
 }