コード例 #1
0
 /**
  * Declares an association between this object and a ChildOrderAddress object.
  *
  * @param                  ChildOrderAddress $v
  * @return                 \SoColissimo\Model\OrderAddressSocolissimo The current object (for fluent API support)
  * @throws PropelException
  */
 public function setOrderAddress(ChildOrderAddress $v = null)
 {
     if ($v === null) {
         $this->setId(NULL);
     } else {
         $this->setId($v->getId());
     }
     $this->aOrderAddress = $v;
     // Add binding for other direction of this 1:1 relationship.
     if ($v !== null) {
         $v->setOrderAddressSocolissimo($this);
     }
     return $this;
 }