src/Ubiquity/controllers/rest/api/jsonapi/JsonApiResponseFormatter.php
protected function addPageLinks(&$r, $classname, $pages) {
		$pageSize = $pages ['pageSize'];
		unset ( $pages ['pageSize'] );
		foreach ( $pages as $page => $number ) {
			$r ['links'] [$page] = $this->getLink ( $this->pageLink, [ "baseRoute" => $this->baseRoute,'classname' => $classname,'pageNumber' => $number,'pageSize' => $pageSize ] );
		}
	}
protected function addPageLinks(&$r, $classname, $pages) {
		$pageSize = $pages ['pageSize'];
		unset ( $pages ['pageSize'] );
		foreach ( $pages as $page => $number ) {
			$r ['links'] [$page] = $this->getLink ( $this->pageLink, [ "baseRoute" => $this->baseRoute,'classname' => $classname,'pageNumber' => $number,'pageSize' => $pageSize ] );
		}
	}
protected function addPageLinks ( & $ r , $ classname , $ pages ) { $ pageSize = $ pages [ 'pageSize' ] ; unset ( $ pages [ 'pageSize' ] ) ; foreach ( $ pages as $ page => $ number ) { $ r [ 'links' ] [ $ page ] = $ this -> getLink ( $ this -> pageLink , [ "baseRoute" => $ this -> baseRoute , 'classname' => $ classname , 'pageNumber' => $ number , 'pageSize' => $ pageSize ] ) ; } }
Adds page links

@param array $r
@param string $classname
@param array $pages
Adds page links