Subversion Repositories SmartDukaan

Rev

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

Rev 15051 Rev 15079
Line 13... Line 13...
13
 *
13
 *
14
 * @var array
14
 * @var array
15
 */
15
 */
16
	public $components = array('Paginator');
16
	public $components = array('Paginator');
17
 
17
 
-
 
18
	public function beforeFilter() {
-
 
19
        parent::beforeFilter();
-
 
20
        $this->Auth->allow(array('addCallDisposition'));
-
 
21
        }
18
/**
22
/**
19
 * index method
23
 * index method
20
 *
24
 *
21
 * @return void
25
 * @return void
22
 */
26
 */
Line 197... Line 201...
197
			$this->Session->setFlash(__('The call has been deleted.'));
201
			$this->Session->setFlash(__('The call has been deleted.'));
198
		} else {
202
		} else {
199
			$this->Session->setFlash(__('The call could not be deleted. Please, try again.'));
203
			$this->Session->setFlash(__('The call could not be deleted. Please, try again.'));
200
		}
204
		}
201
		return $this->redirect(array('action' => 'index'));
205
		return $this->redirect(array('action' => 'index'));
-
 
206
	}
-
 
207
 
-
 
208
	public function addCallDisposition(){
-
 
209
		$this->log(print_r($this->request->data,1),'calldisposition');
202
	}}
210
	}	
-
 
211
}