function setPageNum($page_number) {
		$this->page = $page_number;

		if (!is_numeric($this->page) || $this->page < 1) {
			$this->page = 1;
		}

		if ($this->total !== null) {
			$this->sanitizePageNum();
		}
	}
function setPageNum($page_number) {
		$this->page = $page_number;

		if (!is_numeric($this->page) || $this->page < 1) {
			$this->page = 1;
		}

		if ($this->total !== null) {
			$this->sanitizePageNum();
		}
	}
function setPageNum ( $ page_number ) { $ this -> page = $ page_number ; if ( ! is_numeric ( $ this -> page ) || $ this -> page < 1 ) { $ this -> page = 1 ; } if ( $ this -> total !== null ) { $ this -> sanitizePageNum ( ) ; } }
Sets the current page number
@param int $page_number
Sets the current page number