コード例 #1
0
ファイル: BaseMission.php プロジェクト: yasirgit/afids
 /**
  * Declares an association between this object and a Requester object.
  *
  * @param      Requester $v
  * @return     Mission The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setRequesterRelatedByOtherRequesterId(Requester $v = null)
 {
     if ($v === null) {
         $this->setOtherRequesterId(NULL);
     } else {
         $this->setOtherRequesterId($v->getId());
     }
     $this->aRequesterRelatedByOtherRequesterId = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Requester object, it will not be re-added.
     if ($v !== null) {
         $v->addMissionRelatedByOtherRequesterId($this);
     }
     return $this;
 }