123456789101112131415161718 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_outbound extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'outbound';
- $this->load_table('outbound');
- }
- public function get_number($number)
- {
- return $this->find("number = '$number'");
- }
- public function get_waybill($waybill)
- {
- return $this->find("waybill = '$waybill'");
- }
- } //end class
|