Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }