예제 #1
0
 public function equals(CrudInterface $comparison_obj)
 {
     $returnValue = FALSE;
     if ($comparison_obj instanceof SeasonTeamPlayer) {
         if ($this->getSeasonTeamId() == $comparison_obj->getSeasonTeamId() && $this->getPlayerId() == $comparison_obj->getPlayerId() && $this->getNumber() == $comparison_obj->getNumber()) {
             $returnValue = TRUE;
         }
     }
     return $returnValue;
 }