src/ItePHP/Component/Grid/GridBuilder.php
public function getRecords(){
		$query=$this->request->getQuery();
		$sort=null;
		if(isset($query['sort']) && isset($this->columns[$query['sort']])){
			$sort=$this->columns[$query['sort']]->getSortKeys();
		}
		if (isset($query['page'])) {
			$this->page=$query['page'];
		}


		return $this->dataManager->getRecords($this->limit,$this->page,$sort);
	}
public function getRecords(){
		$query=$this->request->getQuery();
		$sort=null;
		if(isset($query['sort']) && isset($this->columns[$query['sort']])){
			$sort=$this->columns[$query['sort']]->getSortKeys();
		}
		if (isset($query['page'])) {
			$this->page=$query['page'];
		}


		return $this->dataManager->getRecords($this->limit,$this->page,$sort);
	}
public function getRecords ( ) { $ query = $ this -> request -> getQuery ( ) ; $ sort = null ; if ( isset ( $ query [ 'sort' ] ) && isset ( $ this -> columns [ $ query [ 'sort' ] ] ) ) { $ sort = $ this -> columns [ $ query [ 'sort' ] ] -> getSortKeys ( ) ; } if ( isset ( $ query [ 'page' ] ) ) { $ this -> page = $ query [ 'page' ] ; } return $ this -> dataManager -> getRecords ( $ this -> limit , $ this -> page , $ sort ) ; }
Get records

@return mixed[]
Get records