예제 #1
0
 public function save()
 {
     try {
         $attribute = new Gpf_Db_UserAttribute();
         $attribute->getSetting($this->getName(), $this->getAccountUserId());
         $this->setPrimaryKeyValue($attribute->getPrimaryKeyValue());
         $this->update();
     } catch (Gpf_DbEngine_NoRowException $e) {
         $this->insert();
     }
 }