1234567891011121314151617181920212223242526 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_systemtransfer extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'systemtransfer';
- $this->load_table('systemtransfer');
- }
- public function get_number($number)
- {
- return $this->find("number = '$number'");
- }
- public function get_czwarehouse($number,$czwarehouse)
- {
- return $this->find("number = '$number' and czwarehouse = '$czwarehouse'");
- }
- public function get_num($num)
- {
- return $this->find("num = '$num'");
- }
- public function get_label($label)
- {
- return $this->find("label = '$label'");
- }
- } //end class
|