Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
load_user () | |
load_status () | |
save () | |
__get ($key) | |
Data Fields | |
$table_name = 'statuscomments' | |
$columns = array('id', 'user_id', 'status_id', 'message', 'post_date', 'deleted') | |
$cache_keys = array( 'statuscomment/#' => 'id', 'statuscomments/user:#' => 'user_id', 'statuscomments/status:#' => 'status_id') | |
$has_many = array() | |
$has_one = array('status', 'user') | |
$public_columns = array( 'id', 'user_id', 'status_id', 'message', 'post_date', 'user' ) |
Represents a single comment under a single status
Definition at line 6 of file statuscomment.php.
__get | ( | $ | key | ) |
Reimplemented from ActiveRecord.
Definition at line 65 of file statuscomment.php.
load_status | ( | ) |
Load the status that this comment was posted under
Definition at line 32 of file statuscomment.php.
load_user | ( | ) |
Load the user who posted the comment
Definition at line 17 of file statuscomment.php.
save | ( | ) |
Save this status comment and send a notification
Reimplemented from ActiveRecord.
Definition at line 47 of file statuscomment.php.
$cache_keys = array( 'statuscomment/#' => 'id', 'statuscomments/user:#' => 'user_id', 'statuscomments/status:#' => 'status_id') |
Definition at line 9 of file statuscomment.php.
$columns = array('id', 'user_id', 'status_id', 'message', 'post_date', 'deleted') |
Reimplemented from ActiveRecord.
Definition at line 8 of file statuscomment.php.
$has_many = array() |
Reimplemented from ActiveRecord.
Definition at line 10 of file statuscomment.php.
$has_one = array('status', 'user') |
Reimplemented from ActiveRecord.
Definition at line 11 of file statuscomment.php.
$public_columns = array( 'id', 'user_id', 'status_id', 'message', 'post_date', 'user' ) |
Definition at line 12 of file statuscomment.php.
$table_name = 'statuscomments' |
Reimplemented from ActiveRecord.
Definition at line 7 of file statuscomment.php.