Campustream 1.0
A social network MQP for WPI
Relationship_Model Class Reference
Inheritance diagram for Relationship_Model:
ActiveRecord

Public Member Functions

 set ($source, $target)

Data Fields

 $columns = array('target', 'source')
 $public_columns = array('target', 'source')

Detailed Description

Represents a relationship between two given users

Definition at line 6 of file relationship.php.


Member Function Documentation

set ( source,
target 
)

Set the two users of the relationship

Definition at line 13 of file relationship.php.


Field Documentation

$columns = array('target', 'source')

Reimplemented from ActiveRecord.

Definition at line 7 of file relationship.php.

$public_columns = array('target', 'source')

Definition at line 8 of file relationship.php.


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