protected function doSave($con)
 {
     $affectedRows = 0;
     if (!$this->alreadyInSave) {
         $this->alreadyInSave = true;
         if ($this->aClassLevel !== null) {
             if ($this->aClassLevel->isModified()) {
                 $affectedRows += $this->aClassLevel->save($con);
             }
             $this->setClassLevel($this->aClassLevel);
         }
         if ($this->aCur13Ki !== null) {
             if ($this->aCur13Ki->isModified()) {
                 $affectedRows += $this->aCur13Ki->save($con);
             }
             $this->setCur13Ki($this->aCur13Ki);
         }
         if ($this->aSubjectCurr !== null) {
             if ($this->aSubjectCurr->isModified()) {
                 $affectedRows += $this->aSubjectCurr->save($con);
             }
             $this->setSubjectCurr($this->aSubjectCurr);
         }
         if ($this->isModified()) {
             if ($this->isNew()) {
                 $pk = Cur13SubjectDescriptionPeer::doInsert($this, $con);
                 $affectedRows += 1;
                 $this->setId($pk);
                 $this->setNew(false);
             } else {
                 $affectedRows += Cur13SubjectDescriptionPeer::doUpdate($this, $con);
             }
             $this->resetModified();
         }
         $this->alreadyInSave = false;
     }
     return $affectedRows;
 }