Пример #1
0
 public function getStake()
 {
     $userId = $this->getUserId();
     if (!isset($userId)) {
         return;
     }
     $betSlipId = $this->getBetSlipId();
     $transaction = new Model_TransactionModel();
     $transaction->load(array('user_id_FK' => $userId, 'transaction_type_id_FK' => 3, 'transaction_type_idendifier' => $betSlipId));
     return $transaction->getMoney();
 }