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