public static function addInstanceToPool(NivelInstruccion $obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         self::$instances[$key] = $obj;
     }
 }
Exemple #2
0
 public function setNivelInstruccion(NivelInstruccion $v = null)
 {
     if ($v === null) {
         $this->setFkNivelInstruccionId(NULL);
     } else {
         $this->setFkNivelInstruccionId($v->getId());
     }
     $this->aNivelInstruccion = $v;
     if ($v !== null) {
         $v->addResponsable($this);
     }
     return $this;
 }