public function setLocacion(Locacion $v = null) { if ($v === null) { $this->setFkLocacionId(0); } else { $this->setFkLocacionId($v->getId()); } $this->aLocacion = $v; if ($v !== null) { $v->addEspacio($this); } return $this; }
public static function addInstanceToPool(Locacion $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
public function setLocacion(Locacion $v = null) { if ($v === null) { $this->setFkLocacionId(0); } else { $this->setFkLocacionId($v->getId()); } $this->aLocacion = $v; if ($v !== null) { $v->addRelEstablecimientoLocacion($this); } return $this; }