|  | @@ -19,6 +19,7 @@ class L_category extends DooModel {
 | 
	
		
			
				|  |  |  				'asArray' => TRUE 
 | 
	
		
			
				|  |  |  		) );
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +	
 | 
	
		
			
				|  |  |  	public function getCategoryInCid($cidString = '') {
 | 
	
		
			
				|  |  |  		Doo::loadClass ( 'XDeode' );
 | 
	
		
			
				|  |  |  		$XDeode = new XDeode ( 5 );
 | 
	
	
		
			
				|  | @@ -35,6 +36,7 @@ class L_category extends DooModel {
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		return $list;
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  | +	
 | 
	
		
			
				|  |  |  	public function getCategoryById($cid = 0, $othercid = "") {
 | 
	
		
			
				|  |  |  		if (! empty ( $othercid ))
 | 
	
		
			
				|  |  |  			return $this->find ( array (
 |