mirror of
https://github.com/standardebooks/web.git
synced 2025-07-12 09:32:24 -04:00
Change 'timestamp' properties on objects to more descriptive names
This commit is contained in:
parent
18f761929a
commit
dbefba6b94
32 changed files with 74 additions and 74 deletions
|
@ -4,7 +4,7 @@ class Payment extends PropertiesBase{
|
|||
public $PaymentId;
|
||||
protected $User = null;
|
||||
public $UserId = null;
|
||||
public $Timestamp;
|
||||
public $Created;
|
||||
public $ChannelId;
|
||||
public $TransactionId;
|
||||
public $Amount;
|
||||
|
@ -33,7 +33,7 @@ class Payment extends PropertiesBase{
|
|||
}
|
||||
|
||||
try{
|
||||
Db::Query('INSERT into Payments (UserId, Timestamp, ChannelId, TransactionId, Amount, Fee, IsRecurring) values(?, ?, ?, ?, ?, ?, ?);', [$this->UserId, $this->Timestamp, $this->ChannelId, $this->TransactionId, $this->Amount, $this->Fee, $this->IsRecurring]);
|
||||
Db::Query('INSERT into Payments (UserId, Created, ChannelId, TransactionId, Amount, Fee, IsRecurring) values(?, ?, ?, ?, ?, ?, ?);', [$this->UserId, $this->Created, $this->ChannelId, $this->TransactionId, $this->Amount, $this->Fee, $this->IsRecurring]);
|
||||
}
|
||||
catch(PDOException $ex){
|
||||
if($ex->errorInfo[1] == 1062){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue