function getOffset() {
		$offset = ($this->getPageNum() * $this->limit) - $this->limit;
		if ($offset < 0) {
			$offset = 0;
		}
		return $offset;
	}
function getOffset() {
		$offset = ($this->getPageNum() * $this->limit) - $this->limit;
		if ($offset < 0) {
			$offset = 0;
		}
		return $offset;
	}
function getOffset ( ) { $ offset = ( $ this -> getPageNum ( ) * $ this -> limit ) - $ this -> limit ; if ( $ offset < 0 ) { $ offset = 0 ; } return $ offset ; }
Gets the offset for a query
Gets the offset for a query