コード例 #1
0
 /**
  * Declares an association between this object and a Solicitud_estado object.
  *
  * @param      Solicitud_estado $v
  * @return     Solicitud The current object (for fluent API support)
  * @throws     PropelException
  */
 public function setSolicitud_estado(Solicitud_estado $v = null)
 {
     if ($v === null) {
         $this->setId_estado(NULL);
     } else {
         $this->setId_estado($v->getId());
     }
     $this->aSolicitud_estado = $v;
     // Add binding for other direction of this n:n relationship.
     // If this object has already been added to the Solicitud_estado object, it will not be re-added.
     if ($v !== null) {
         $v->addSolicitud($this);
     }
     return $this;
 }