Esempio n. 1
0
 public function equals(CrudInterface $comparison_obj)
 {
     $returnValue = FALSE;
     if ($comparison_obj instanceof League) {
         // compare all properties for equality except the savedByUserID and the savedDateTime
         if ($this->getLeagueId() == $comparison_obj->getLeagueId() && $this->getName() == $comparison_obj->getName() && $this->getSequence() == $comparison_obj->getSequence()) {
             $returnValue = TRUE;
         }
     }
     return $returnValue;
 }