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