public function valid_page_and_view(&$validpages, &$pageviews) {
        $validpages[$this->properties->id] = 1;
        return $this->properties->nextpageid;
    }
public function valid_page_and_view(&$validpages, &$pageviews) {
        $validpages[$this->properties->id] = 1;
        return $this->properties->nextpageid;
    }
public function valid_page_and_view ( & $ validpages , & $ pageviews ) { $ validpages [ $ this -> properties -> id ] = 1 ; return $ this -> properties -> nextpageid ; }
This method is used to determine if this page is a valid page

@param array $validpages
@param array $pageviews
@return int The next page id to check
This method is used to determine if this page is a valid page