/** * Declares an association between this object and a Partido object. * * @param Partido $v * @return Propuesta The current object (for fluent API support) * @throws PropelException */ public function setPartidoRelatedByPartidoVideo1Id(Partido $v = null) { if ($v === null) { $this->setPartidoVideo1Id(NULL); } else { $this->setPartidoVideo1Id($v->getId()); } $this->aPartidoRelatedByPartidoVideo1Id = $v; // Add binding for other direction of this n:n relationship. // If this object has already been added to the Partido object, it will not be re-added. if ($v !== null) { $v->addPropuestaRelatedByPartidoVideo1Id($this); } return $this; }