Model_ttcf.php 377 B

1234567891011121314
  1. <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
  2. class Model_ttcf extends Lin_Model
  3. {
  4. function __construct(){
  5. parent::__construct();
  6. $this->load->database();
  7. $this->table = 'ttcf';
  8. $this->load_table('ttcf');
  9. }
  10. public function get_orderinfo($orderinfo)
  11. {
  12. return $this->find("orderinfo = '$orderinfo'");
  13. }
  14. } //end class