Subversion Repositories SmartDukaan

Rev

Rev 16842 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16842 Rev 17351
Line 126... Line 126...
126
		$this->request->onlyAllow('ajax');
126
		$this->request->onlyAllow('ajax');
127
		$url = $this->apihost.'appUserBatchDateDrillDown/'.$this->Auth->User('id').'/'.$date;
127
		$url = $this->apihost.'appUserBatchDateDrillDown/'.$this->Auth->User('id').'/'.$date;
128
		$getApp = $this->make_request($url,null);
128
		$getApp = $this->make_request($url,null);
129
		return json_encode($getApp);	
129
		return json_encode($getApp);	
130
	}
130
	}
-
 
131
 
-
 
132
	public function getDateInstallsBy($date, $user_id){
-
 
133
		
-
 
134
		$this->autoRender = false;	
-
 
135
		$this->request->onlyAllow('ajax');
-
 
136
		$url = $this->apihost.'appUserBatchDateDrillDown/'.$user_id.'/'.$date;
-
 
137
		$getApp = $this->make_request($url,null);
-
 
138
		return json_encode($getApp);	
-
 
139
	}
131
}
140
}