LogQueryBuilder
6 years ago
Actions.php
6 years ago
ArchiveSelector.php
6 years ago
ArchiveTableCreator.php
6 years ago
ArchiveTableDao.php
6 years ago
ArchiveWriter.php
6 years ago
ArchivingDbAdapter.php
6 years ago
LogAggregator.php
5 years ago
LogQueryBuilder.php
6 years ago
LogTableTemporary.php
6 years ago
Model.php
6 years ago
RawLogDao.php
6 years ago
TableMetadata.php
6 years ago
LogTableTemporary.php
47 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Matomo - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | */ |
| 8 | |
| 9 | namespace Piwik\DataAccess; |
| 10 | |
| 11 | use Piwik\Common; |
| 12 | use Piwik\Config; |
| 13 | use Piwik\Db; |
| 14 | use Piwik\Tracker\LogTable; |
| 15 | |
| 16 | class LogTableTemporary extends LogTable |
| 17 | { |
| 18 | private $tableName; |
| 19 | public function __construct($name) |
| 20 | { |
| 21 | $this->tableName = $name; |
| 22 | } |
| 23 | |
| 24 | public function setName($name) |
| 25 | { |
| 26 | $this->tableName = $name; |
| 27 | } |
| 28 | |
| 29 | public function getName() |
| 30 | { |
| 31 | return $this->tableName; |
| 32 | } |
| 33 | |
| 34 | public function getIdColumn() |
| 35 | { |
| 36 | return 'idvist'; |
| 37 | } |
| 38 | |
| 39 | public function getColumnToJoinOnIdVisit() |
| 40 | { |
| 41 | return 'idvisit'; |
| 42 | } |
| 43 | public function getPrimaryKey() |
| 44 | { |
| 45 | return array('idvisit'); |
| 46 | } |
| 47 | } |