Parser_model.php 1.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. defined('BASEPATH') or exit('No direct script access allowed');
  3. /**
  4. *
  5. * Model Parser_model
  6. *
  7. * This Model for ...
  8. *
  9. * @package CodeIgniter
  10. * @category Model
  11. * @author Setiawan Jodi <jodisetiawan@fisip-untirta.ac.id>
  12. * @link https://github.com/setdjod/myci-extension/
  13. * @param ...
  14. * @return ...
  15. *
  16. */
  17. class Parser_model extends CI_Model
  18. {
  19. // ------------------------------------------------------------------------
  20. public function __construct()
  21. {
  22. parent::__construct();
  23. }
  24. public function setInicioLicitacion($licitacionArr)
  25. {
  26. $this->db->insert('BRUTO_datos_iniciales', $licitacionArr);
  27. return $this->db->insert_id();
  28. }
  29. public function setLocatedContractInfo($locatedContractArr)
  30. {
  31. $this->db->insert('BRUTO_located_contracting_party', $locatedContractArr);
  32. return $this->db->insert_id();
  33. }
  34. public function setParty($partyArr)
  35. {
  36. $this->db->insert('BRUTO_party', $partyArr);
  37. return $this->db->insert_id();
  38. }
  39. }
  40. /* End of file Parser_model.php */
  41. /* Location: ./application/models/Parser_model.php */