public function canCreateExaminationRepproved() { $school_year = SchoolYearPeer::retrieveByPK($this->getReferenceFor("schoolyear")); return ExaminationRepprovedSubjectPeer::canCreateExaminationRepprovedFor($school_year) && $school_year->getIsActive(); }