aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/river.php b/engine/lib/river.php
index 0b81e71aa..8b447b2e6 100644
--- a/engine/lib/river.php
+++ b/engine/lib/river.php
@@ -150,8 +150,18 @@
*/
public function getEvent() { return $this->log_event; }
+ /**
+ * Set when this event occured.
+ *
+ * @param int $timestamp Unix TS
+ */
public function setTimestamp($timestamp) { $this->timestamp = $timestamp; }
+ /**
+ * Retrieve when this event occured.
+ *
+ * @return int Unix TS
+ */
public function getTimestamp() { return $this->timestamp; }
}