コード例 #1
0
ファイル: Account.php プロジェクト: rurkss/webapps-user-lib
 /**
  * Saves the properties to the database.
  *
  * This performs an intelligent insert/update, and reloads the
  * properties with fresh data from the table on success.
  *
  * @return mixed The primary key value(s), as an associative array if the
  *     key is compound, or a scalar if the key is single-column.
  */
 public function save($bRefresh = true)
 {
     $this->ucac_hash = md5($this->ucac_password);
     return parent::save($bRefresh);
 }