コード例 #1
0
ファイル: UserService.php プロジェクト: tests1/zendcasts
 public function SaveUser($id, $name, $email, $contacttype_id)
 {
     if (!intval($contacttype_id)) {
         $contacttype_id = NULL;
     }
     $params = array('name' => $name, 'email' => $email, 'contacttype_id' => $contacttype_id);
     $this->users->update($params, $this->getWhereClauseForUserId($id));
 }
コード例 #2
0
ファイル: UserService.php プロジェクト: tests1/zendcasts
 public function SaveUser($id, $name, $email)
 {
     $params = array('name' => $name, 'email' => $email);
     $this->users->update($params, $this->getWhereClauseForUserId($id));
 }