DAOTweets Class Reference
Stored tweets. More...
Inheritance diagram for DAOTweets:
Public Member Functions |
|
| get_description () | |
| Get description for this instance. |
|
| get_title () | |
| Get title for this class. |
|
Public Attributes |
|
| $id | |
| $id_twitter | |
| $message | |
| $message_html | |
| $title | |
| $username | |
Protected Member Functions |
|
| create_table_object () | |
Detailed Description
Stored tweets.
Definition at line 8 of file tweets.model.php.
Member Function Documentation
| DAOTweets::create_table_object | ( | ) | [protected] |
Reimplemented from DataObjectBase.
Definition at line 16 of file tweets.model.php.
00016 { 00017 return new DBTable( 00018 'tweets', 00019 array_merge(array( 00020 new DBFieldInt('id', null, DBFieldInt::AUTOINCREMENT | DBFieldInt::UNSIGNED | DBFieldInt::NOT_NULL), 00021 new DBFieldText('id_twitter', 20, null, DBField::NOT_NULL), 00022 new DBFieldText('username', 20, null, DBField::NOT_NULL), 00023 new DBFieldText('title', 140, null, DBField::NOT_NULL), 00024 new DBFieldText('message', 140, null, DBField::NOT_NULL), 00025 new DBFieldText('message_html', DBFieldText::BLOB_LENGTH_SMALL, null, DBField::NOT_NULL), 00026 ), $this->get_timestamp_field_declarations()), 00027 'id' 00028 ); 00029 }
| DAOTweets::get_description | ( | ) |
Get description for this instance.
- Returns:
- string
Implements ISelfDescribing.
Definition at line 49 of file tweets.model.php.
| DAOTweets::get_title | ( | ) |
Get title for this class.
- Returns:
- string
Implements ISelfDescribing.
Definition at line 40 of file tweets.model.php.
Member Data Documentation
| DAOTweets::$id |
Definition at line 9 of file tweets.model.php.
| DAOTweets::$id_twitter |
Definition at line 10 of file tweets.model.php.
| DAOTweets::$message |
Definition at line 13 of file tweets.model.php.
| DAOTweets::$message_html |
Definition at line 14 of file tweets.model.php.
| DAOTweets::$title |
Definition at line 12 of file tweets.model.php.
| DAOTweets::$username |
Definition at line 11 of file tweets.model.php.
The documentation for this class was generated from the following file:
- contributions/api.twitter/model/classes/tweets.model.php
