Subversion Repositories SmartDukaan

Rev

Rev 20103 | Rev 20139 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20103 Rev 20127
Line 20... Line 20...
20
	public $apihost;	
20
	public $apihost;	
21
	public $livepriceurl;
21
	public $livepriceurl;
22
 
22
 
23
	public function beforeFilter() {
23
	public function beforeFilter() {
24
		parent::beforeFilter();
24
		parent::beforeFilter();
25
// 		$this->Auth->allow('bycategory','category','mine','getdeals','getliveprice','search','filter','skus');
25
		$this->Auth->allow('bycategory','category','mine','getdeals','getliveprice','search','filter','skus');
26
		$callback = $this->request->query('callback');	
26
		$callback = $this->request->query('callback');	
27
		$this->livepriceurl = Configure::read('livepriceurl');	
27
		$this->livepriceurl = Configure::read('livepriceurl');	
28
	}
28
	}
29
 
29
 
30
	public function filter($type='brand',$categoryId=3){
30
	public function filter($type='brand',$categoryId=3){