aboutsummaryrefslogtreecommitdiff
path: root/documentation/examples/actions
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-17 18:46:58 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-09-17 18:46:58 +0000
commit1ac20eae82da66f4e29480d97ff8e1d5312ed59b (patch)
tree0ae1125e6ffdf54dac63568352babe34a53ade21 /documentation/examples/actions
parentcb5df9222c274a6fcf9263cc5fb905b7a76add40 (diff)
downloadelgg-1ac20eae82da66f4e29480d97ff8e1d5312ed59b.tar.gz
elgg-1ac20eae82da66f4e29480d97ff8e1d5312ed59b.tar.bz2
Refs #2450: Added documentation for actions.
git-svn-id: http://code.elgg.org/elgg/trunk@6949 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'documentation/examples/actions')
-rw-r--r--documentation/examples/actions/manual_tokens.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/examples/actions/manual_tokens.php b/documentation/examples/actions/manual_tokens.php
new file mode 100644
index 000000000..8dcf61fb1
--- /dev/null
+++ b/documentation/examples/actions/manual_tokens.php
@@ -0,0 +1,6 @@
+<?php
+
+$ts = time();
+$token = generate_action_token($ts);
+
+var_dump($ts, $token);