public function endyear() { if ($this->main_endyear == -1) { $this->title_year(); } return $this->main_endyear; }