Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
index () | |
show_section ($args) | |
show_list ($args) | |
show ($args) | |
create () | |
respond () | |
vote () | |
delete () | |
Data Fields | |
$enable_session = true | |
$template = 'template/main' |
Handles all Collaboration routes and API endpoints.
Definition at line 6 of file collaborate.php.
create | ( | ) |
Creates a new question for Collaboration
Definition at line 165 of file collaborate.php.
delete | ( | ) |
Deletes a Collaboration question.
Definition at line 307 of file collaborate.php.
index | ( | ) |
Shows the Collaboration index page with the various sections.
Definition at line 13 of file collaborate.php.
respond | ( | ) |
Creates a response to a Collaboration question.
Definition at line 224 of file collaborate.php.
show | ( | $ | args | ) |
Shows a single question in the Collaboration section
Definition at line 108 of file collaborate.php.
show_list | ( | $ | args | ) |
Loads and displays a list of Collaboration items.
Definition at line 48 of file collaborate.php.
show_section | ( | $ | args | ) |
Shows a single Collaboration section
Definition at line 26 of file collaborate.php.
vote | ( | ) |
Adds or removes a vote on a Collaboration response
Definition at line 276 of file collaborate.php.
$enable_session = true |
Reimplemented from Controller.
Definition at line 7 of file collaborate.php.
$template = 'template/main' |
Reimplemented from Controller.
Definition at line 8 of file collaborate.php.