public static function addInstanceToPool(Legajopedagogico $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
public function setLegajopedagogico(Legajopedagogico $v = null) { if ($v === null) { $this->setFkLegajopedagogicoId(NULL); } else { $this->setFkLegajopedagogicoId($v->getId()); } $this->aLegajopedagogico = $v; if ($v !== null) { $v->addLegajoadjunto($this); } return $this; }