aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-05 18:43:24 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-05 18:43:24 +0000
commite2282f9fb0a1acb521bf8ff2d6e486dd98f56172 (patch)
treed57af26cafa53f94d1c0f390c29f0483daa9bd5a /engine/lib
parent16bfca18712e96e9972946c2e7b633690899738e (diff)
downloadelgg-e2282f9fb0a1acb521bf8ff2d6e486dd98f56172.tar.gz
elgg-e2282f9fb0a1acb521bf8ff2d6e486dd98f56172.tar.bz2
git-svn-id: https://code.elgg.org/elgg/trunk@2409 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-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; }
}