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