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