Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
index ($args) | |
new_action () | |
show ($args) | |
create () | |
vote () | |
create_comment () | |
delete_comment () | |
location_search () | |
Data Fields | |
$enable_session = true | |
$template = 'template/main' |
Handles all interactions with the News/Events section of the site.
create_comment | ( | ) |
delete_comment | ( | ) |
Deletes the given comment from a news/event item. Notice that it performs a soft-delete by flagging the comment as deleted, instead of actually removing it from MySQL. This is for data mining purposes, and because removing the comment data would ruin the heirarchical structure of the commenting system.
index | ( | $ | args | ) |
location_search | ( | ) |
Performs a simple location search based on a search query. The search list is stored in the Eventlocation_Model class.
new_action | ( | ) |
$enable_session = true |
Reimplemented from Controller.
$template = 'template/main' |
Reimplemented from Controller.