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