Ejemplo n.º 1
0
 public static function addInstanceToPool(Legajocategoria $obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         self::$instances[$key] = $obj;
     }
 }
Ejemplo n.º 2
0
 public function setLegajocategoria(Legajocategoria $v = null)
 {
     if ($v === null) {
         $this->setFkLegajocategoriaId(NULL);
     } else {
         $this->setFkLegajocategoriaId($v->getId());
     }
     $this->aLegajocategoria = $v;
     if ($v !== null) {
         $v->addLegajopedagogico($this);
     }
     return $this;
 }