diff options
Diffstat (limited to 'core/Tracker/LogTable.php')
-rw-r--r-- | core/Tracker/LogTable.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/Tracker/LogTable.php b/core/Tracker/LogTable.php index 8e66f43463..3fedba6945 100644 --- a/core/Tracker/LogTable.php +++ b/core/Tracker/LogTable.php @@ -21,6 +21,16 @@ abstract class LogTable { abstract public function getName(); /** + * Get the name of the column that represents the primary key. For example "idvisit" or "idlink_va". If the table + * does not have a unique ID for each row, you may choose a column that comes closest to it, for example "idvisit". + * @return string + */ + public function getIdColumn() + { + return ''; + } + + /** * Get the name of the column that can be used to join a visit with another table. This is the name of the column * that represents the "idvisit". * @return string |