public static function addInstanceToPool(Orientacion $obj, $key = null) { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { $key = (string) $obj->getId(); } self::$instances[$key] = $obj; } }
public function setOrientacion(Orientacion $v = null) { if ($v === null) { $this->setFkOrientacionId(NULL); } else { $this->setFkOrientacionId($v->getId()); } $this->aOrientacion = $v; if ($v !== null) { $v->addDivision($this); } return $this; }