| 
									
										
										
										
											2012-11-01 09:50:11 +08:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class Sota extends CI_Model { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	function __construct() | 
					
						
							|  |  |  | 	{ | 
					
						
							|  |  |  | 		parent::__construct(); | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	 | 
					
						
							|  |  |  | 	function get_all() { | 
					
						
							| 
									
										
										
										
											2019-06-14 01:40:02 +08:00
										 |  |  | 		$this->db->order_by("COL_SOTA_REF", "ASC");  | 
					
						
							|  |  |  | 		$this->db->where('COL_SOTA_REF !=', ''); | 
					
						
							| 
									
										
										
										
											2012-11-01 09:50:11 +08:00
										 |  |  | 		 | 
					
						
							|  |  |  | 		return $this->db->get($this->config->item('table_name')); | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ?>
 |