Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
load ($loc_id) | |
Static Public Member Functions | |
static | findByName ($name) |
Fake ActiveRecord class that represents an event location. Since the locations aren't actually stored in the database, they are defined here as an array. This should probably be moved to a database in the future.
Definition at line 8 of file eventlocation.php.
static findByName | ( | $ | name | ) | [static] |
Returns the location with the closest levenshtein distance from the provided search name.
Definition at line 336 of file eventlocation.php.
load | ( | $ | loc_id | ) |
Load a location based on its ID
Definition at line 324 of file eventlocation.php.