public static function addInstanceToPool(Anio $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
public function setAnio(Anio $v = null) { if ($v === null) { $this->setFkAnioId(0); } else { $this->setFkAnioId($v->getId()); } $this->aAnio = $v; if ($v !== null) { $v->addDivision($this); } return $this; }