]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - classes/Oauth_application.php
Add new OAuth application tables and DataObjects. Also add a new
[quix0rs-gnu-social.git] / classes / Oauth_application.php
1 <?php
2 /**
3  * Table Definition for oauth_application
4  */
5 require_once 'classes/Memcached_DataObject';
6
7 class Oauth_application extends Memcached_DataObject 
8 {
9     ###START_AUTOCODE
10     /* the code below is auto generated do not remove the above tag */
11
12     public $__table = 'oauth_application';               // table name
13     public $id;                              // int(4)  primary_key not_null
14     public $consumer_key;                    // varchar(255)   not_null
15     public $name;                            // varchar(255)   not_null
16     public $description;                     // varchar(255)  
17     public $icon;                            // varchar(255)   not_null
18     public $source_url;                      // varchar(255)  
19     public $organization;                    // varchar(255)  
20     public $homepage;                        // varchar(255)  
21     public $callback_url;                    // varchar(255)   not_null
22     public $type;                            // tinyint(1)  
23     public $access_type;                     // tinyint(1)  
24     public $created;                         // datetime   not_null
25     public $modified;                        // timestamp   not_null default_CURRENT_TIMESTAMP
26
27     /* Static get */
28     function staticGet($k,$v=null)
29     { return Memcached_DataObject::staticGet('Oauth_application_user',$k,$v); }
30
31     /* the code above is auto generated do not remove the tag below */
32     ###END_AUTOCODE
33 }