Пример #1
0
 private function history()
 {
     $current_league = new League($this->getLeagueId());
     $current_league->build();
     db_insert('league_history')->fields(array('leagueid' => $current_league->getLeagueId(), 'name' => $current_league->getName(), 'sequence' => $current_league->getSequence(), 'saved_userid' => $current_league->getSavedUserID(), 'saved_datetime' => $current_league->getSavedDateTime(), 'history_userid' => $this->getSavedUserID(), 'history_datetime' => $this->getSavedDateTime()))->execute();
 }