public function setEscalanota(Escalanota $v = null)
 {
     if ($v === null) {
         $this->setFkEscalanotaId(NULL);
     } else {
         $this->setFkEscalanotaId($v->getId());
     }
     $this->aEscalanota = $v;
     if ($v !== null) {
         $v->addBoletinActividades($this);
     }
     return $this;
 }
Beispiel #2
0
 public function setEscalanota(Escalanota $v = null)
 {
     if ($v === null) {
         $this->setFkEscalanotaId(0);
     } else {
         $this->setFkEscalanotaId($v->getId());
     }
     $this->aEscalanota = $v;
     if ($v !== null) {
         $v->addExamen($this);
     }
     return $this;
 }
Beispiel #3
0
 public static function addInstanceToPool(Escalanota $obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         self::$instances[$key] = $obj;
     }
 }