示例#1
0
 public function setTipodocumento(Tipodocumento $v = null)
 {
     if ($v === null) {
         $this->setFkTipodocumentoId(0);
     } else {
         $this->setFkTipodocumentoId($v->getId());
     }
     $this->aTipodocumento = $v;
     if ($v !== null) {
         $v->addAlumno($this);
     }
     return $this;
 }
示例#2
0
 public static function addInstanceToPool(Tipodocumento $obj, $key = null)
 {
     if (Propel::isInstancePoolingEnabled()) {
         if ($key === null) {
             $key = (string) $obj->getId();
         }
         self::$instances[$key] = $obj;
     }
 }