Campustream 1.0
A social network MQP for WPI
Friendship_Controller Class Reference
Inheritance diagram for Friendship_Controller:
Controller REST

Public Member Functions

 show ()
 create ()
 destroy ()
 followers ($args)
 follows ($args)

Data Fields

 $enable_session = true
 $template = 'template/main'

Detailed Description

Social graph methods. Shows connections in the social graph, as well as handles adding/deleting connections.

Definition at line 7 of file friendship.php.


Member Function Documentation

create ( )

Definition at line 74 of file friendship.php.

destroy ( )

Definition at line 118 of file friendship.php.

followers ( args)

Definition at line 162 of file friendship.php.

follows ( args)

Definition at line 228 of file friendship.php.

show ( )

Shows the social relationship between two given users and shows their follow status with regards to each other.

Definition at line 15 of file friendship.php.


Field Documentation

$enable_session = true

Reimplemented from Controller.

Definition at line 8 of file friendship.php.

$template = 'template/main'

Reimplemented from Controller.

Definition at line 9 of file friendship.php.


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