Campustream 1.0
A social network MQP for WPI
application/models/questiontag.php
Go to the documentation of this file.
00001 <?
00002 
00006 class Questiontag_Model extends ActiveRecord {
00007         public $table_name = 'questiontags';
00008         public $columns = array('id','question_id', 'tag');
00009         public $cache_keys = array('questiontag/#' => 'id', 'questiontags/question:#' => 'question_id');
00010         public $has_one = array('question');
00011         public $public_columns = array('question_id', 'tag');
00012 }