public static function addInstanceToPool(NivelInstruccion $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
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; }