Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
public_timeline () | |
user_timeline () | |
friend_timeline () | |
show ($args) | |
comments () | |
update () | |
delete () | |
Data Fields | |
$enable_session = true | |
$template = 'template/main' |
Responsible for creating, showing, and deleting status messages
Definition at line 6 of file status.php.
comments | ( | ) |
Loads all comments for the given status message.
Definition at line 189 of file status.php.
delete | ( | ) |
Deletes the given status update iff the update was posted by the currently authenticated user.
Definition at line 265 of file status.php.
friend_timeline | ( | ) |
Loads the friend timline of the logged in user. This is updates only from people the active user follows.
Definition at line 45 of file status.php.
public_timeline | ( | ) |
Loads the public timeline. This is updates from all users.
Definition at line 13 of file status.php.
show | ( | $ | args | ) |
Shows a single status message, aka status message permalink. Also loads and displays some information related to the given status message depending on its type.
Definition at line 144 of file status.php.
update | ( | ) |
Creates a new status. This should probably be create() instead of update(). Not sure what I was thinking.
Definition at line 221 of file status.php.
user_timeline | ( | ) |
Loads the given user's timeline. This is all updates from a single user.
Definition at line 20 of file status.php.
$enable_session = true |
Reimplemented from Controller.
Definition at line 7 of file status.php.
$template = 'template/main' |
Reimplemented from Controller.
Definition at line 8 of file status.php.