コード例 #1
0
 /**
  * Return true if current CrossReference is really "cross referenced" with $crossref
  *
  * @param CrossReference $crossref
  * @return boolean true if current CrossReference is really "cross referenced" with $crossref
  */
 function isCrossReferenceWith($crossref)
 {
     return $this->getRefSourceId() == $crossref->getRefTargetId() && $this->getRefSourceGid() == $crossref->getRefTargetGid() && $this->getRefSourceType() == $crossref->getRefTargetType() && $crossref->getRefSourceId() == $this->getRefTargetId() && $crossref->getRefSourceGid() == $this->getRefTargetGid() && $crossref->getRefSourceType() == $this->getRefTargetType();
 }