Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
load ($cat_id) | |
Static Public Member Functions | |
static | getByType ($type) |
static | getBySlug ($type, $slug) |
Fake model class that represents a news/event category. They are defined here instead of being stored in a database.
Definition at line 7 of file newseventcategory.php.
static getBySlug | ( | $ | type, |
$ | slug | ||
) | [static] |
Get a category by its URL slug
Definition at line 132 of file newseventcategory.php.
static getByType | ( | $ | type | ) | [static] |
Get a category with the given type
Definition at line 114 of file newseventcategory.php.
load | ( | $ | cat_id | ) |
Load a category with the given ID
Definition at line 103 of file newseventcategory.php.