public function gridAction() {
		$grid = new Papercut_Query();
		$gridResult = $grid->getRecords();
		
		foreach ($gridResult as $param => $value){
			$this->setParam($param, $value);
		}
	}
Beispiel #2
0
	public function query($request = array()) {
		$request['table'] = $this->table;
		$request['primaryKey'] = $this->primaryKey;
		$query = new Papercut_Query($request);
		return $query->getRecords();
	}