Campustream 1.0
A social network MQP for WPI
Eventlocation_Model Class Reference

Public Member Functions

 load ($loc_id)

Static Public Member Functions

static findByName ($name)

Detailed Description

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.


Member Function Documentation

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.


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