3 * Table Definition for nonce
5 require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
7 class Nonce extends Memcached_DataObject
10 /* the code below is auto generated do not remove the above tag */
12 public $__table = 'nonce'; // table name
13 public $consumer_key; // varchar(255) primary_key not_null
14 public $tok; // char(32)
15 public $nonce; // char(32) primary_key not_null
16 public $ts; // datetime() primary_key not_null
17 public $created; // datetime() not_null
18 public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
21 function staticGet($k,$v=NULL) { return Memcached_DataObject::staticGet('Nonce',$k,$v); }
23 /* the code above is auto generated do not remove the tag below */
27 * Compatibility hack for PHP 5.3
29 * The statusnet.links.ini entry cannot be read because "," is no longer
30 * allowed in key names when read by parse_ini_file().
37 return array('consumer_key,token' => 'token:consumer_key,token');