vanilla-application-yaga/modules/class.bestfiltermodule.php
Zachary Doll 8390b3e972 Add best controller and related modules
This adds a link on the discussion filter module and the profile filter
box. The new views show content based on it's aggregate Yaga score as
well as the reaction type. Closes #19
2014-04-24 17:19:53 -05:00

27 lines
551 B
PHP

<?php if (!defined('APPLICATION')) exit();
/* Copyright 2014 Zachary Doll */
/**
* This shows the different filters you can apply to the entire forums scored content
*
* @since 1.0
* @package Yaga
*/
class BestFilterModule extends Gdn_Module {
public function __construct($Sender = '') {
parent::__construct($Sender);
$ActionModel = Yaga::ActionModel();
$this->Data = $ActionModel->Get();
}
public function AssetTarget() {
return 'Content';
}
public function ToString() {
return parent::ToString();
}
}