12345678910111213141516171819202122 |
- <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
- class Model_Whlabel_bh extends Lin_Model
- {
- function __construct(){
- parent::__construct();
- $this->load->database();
- $this->table = 'whlabel_bh';
- $this->load_table('whlabel_bh');
- }
- public function get_number($number)
- {
- return $this->find("number = '$number'");
- }
- public function get_sku($sku)
- {
- return $this->find("sku = '$sku'");
- }
- public function get_features($features)
- {
- return $this->find("features = '$features'");
- }
- } //end class
|