public static function addInstanceToPool(Calendariovacunacion $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
public function setCalendariovacunacion(Calendariovacunacion $v = null) { if ($v === null) { $this->setFkCalendariovacunacionId(NULL); } else { $this->setFkCalendariovacunacionId($v->getId()); } $this->aCalendariovacunacion = $v; if ($v !== null) { $v->addRelCalendariovacunacionAlumno($this); } return $this; }