Esempio n. 1
0
 public static function addInstanceToPool(Responsable $obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         self::$instances[$key] = $obj;
     }
 }
Esempio n. 2
0
 public function updateReservaResponsable(Reserva $entity, Responsable $reservaResponsable)
 {
     $entity->setReservaResponsable($reservaResponsable->getId());
     return $this->persistenceManager->update($entity);
 }
 public function setResponsable(Responsable $v = null)
 {
     if ($v === null) {
         $this->setFkResponsableId(0);
     } else {
         $this->setFkResponsableId($v->getId());
     }
     $this->aResponsable = $v;
     if ($v !== null) {
         $v->addRelRolresponsableResponsable($this);
     }
     return $this;
 }