public function relations() { return array('category' => array(self::BELONGS_TO, 'Category', 'category_id')); }