Campustream 1.0
A social network MQP for WPI
Usertwitter_Model Class Reference
Inheritance diagram for Usertwitter_Model:
ActiveRecord

Public Member Functions

 load_user ()
 save ()
 __get ($key)

Data Fields

 $table_name = 'usertwitter'
 $columns = array('id', 'user_id', 'twitter_id', 'username', 'oauth_token', 'oauth_secret', 'name', 'website', 'bio', 'location', 'avatar_url', 'utc_offset', 'geo_enabled', 'profile_background_color', 'profile_text_color', 'profile_link_color', 'profile_sidebar_fill_color', 'profile_sidebar_border_color', 'profile_background_image_url', 'profile_background_tile', 'import_enabled', 'export_enabled', 'last_tweet_id')
 $cache_keys = array( 'usertwitter/#' => 'id', 'usertwitter/user:#' => 'user_id' )
 $has_one = array('user')
 $has_many = array()
 $public_columns = array()

Detailed Description

Twitter information about a single user

Definition at line 6 of file usertwitter.php.


Member Function Documentation

__get ( key)

Reimplemented from ActiveRecord.

Definition at line 35 of file usertwitter.php.

load_user ( )

Load the user this info pertains to

Definition at line 17 of file usertwitter.php.

save ( )

Reimplemented from ActiveRecord.

Definition at line 29 of file usertwitter.php.


Field Documentation

$cache_keys = array( 'usertwitter/#' => 'id', 'usertwitter/user:#' => 'user_id' )

Definition at line 9 of file usertwitter.php.

$columns = array('id', 'user_id', 'twitter_id', 'username', 'oauth_token', 'oauth_secret', 'name', 'website', 'bio', 'location', 'avatar_url', 'utc_offset', 'geo_enabled', 'profile_background_color', 'profile_text_color', 'profile_link_color', 'profile_sidebar_fill_color', 'profile_sidebar_border_color', 'profile_background_image_url', 'profile_background_tile', 'import_enabled', 'export_enabled', 'last_tweet_id')

Reimplemented from ActiveRecord.

Definition at line 8 of file usertwitter.php.

$has_many = array()

Reimplemented from ActiveRecord.

Definition at line 11 of file usertwitter.php.

$has_one = array('user')

Reimplemented from ActiveRecord.

Definition at line 10 of file usertwitter.php.

$public_columns = array()

Definition at line 12 of file usertwitter.php.

$table_name = 'usertwitter'

Reimplemented from ActiveRecord.

Definition at line 7 of file usertwitter.php.


The documentation for this class was generated from the following file: