code: public function getArchiveYear() {
  		$year = $this->request->param("Year");
  		if(preg_match("/^[0-9]{4}$/", $year)) {
  			return (int) $year;
  		}
  		return null;
  	}
docs: Fetches the archive year from the url
  
  @return int|null