summaryrefslogtreecommitdiff
path: root/classes/Nonce.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Nonce.php')
-rw-r--r--classes/Nonce.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/classes/Nonce.php b/classes/Nonce.php
new file mode 100644
index 000000000..987e8d1e8
--- /dev/null
+++ b/classes/Nonce.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Table Definition for nonce
+ */
+require_once 'DB/DataObject.php';
+
+class Nonce extends DB_DataObject
+{
+ ###START_AUTOCODE
+ /* the code below is auto generated do not remove the above tag */
+
+ public $__table = 'nonce'; // table name
+ public $consumer_key; // varchar(255) primary_key not_null
+ public $tok; // char(32) primary_key not_null
+ public $nonce; // char(32) primary_key not_null
+ public $ts; // datetime() not_null
+ public $created; // datetime() not_null
+ public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
+
+ /* Static get */
+ function staticGet($k,$v=NULL) { return DB_DataObject::staticGet('Nonce',$k,$v); }
+
+ /* the code above is auto generated do not remove the tag below */
+ ###END_AUTOCODE
+}