Overview

Packages

  • None
  • Yaga

Classes

  • ActedModel
  • ActionController
  • ActionModel
  • AwardCombo
  • BadgeAwardModel
  • BadgeController
  • BadgeModel
  • BadgesController
  • BadgesModule
  • BestController
  • BestFilterModule
  • CakeDayPost
  • CommentCount
  • CommentMarathon
  • DiscussionBodyLength
  • DiscussionCategory
  • DiscussionCount
  • DiscussionPageCount
  • HasMentioned
  • HolidayVisit
  • LeaderBoardModule
  • LengthOfService
  • ManualAward
  • NecroPost
  • NewbieComment
  • PhotoExists
  • PostCount
  • PostReactions
  • QnAAnserCount
  • RankController
  • RankModel
  • ReactController
  • ReactionCount
  • ReactionModel
  • ReflexComment
  • RulesController
  • SocialConnection
  • Yaga
  • YagaController
  • YagaHooks

Interfaces

  • YagaRule
  • Overview
  • Package
  • Class
  • Tree
  • Todo
  • Download
 1: <?php if (!defined('APPLICATION')) exit();
 2: /* Copyright 2014 Zachary Doll */
 3: 
 4: /**
 5:  * This shows the different filters you can apply to the entire forums scored content
 6:  *
 7:  * @package Yaga
 8:  * @since 1.0
 9:  */
10: class BestFilterModule extends Gdn_Module {
11:   
12:   /**
13:    * Load up the action list.
14:    * 
15:    * @param string $Sender
16:    */
17:   public function __construct($Sender = '') {
18:     parent::__construct($Sender);
19:     
20:     $ActionModel = Yaga::ActionModel();
21:     $this->Data = $ActionModel->Get();
22:   }
23:   
24:   /**
25:    * Specifies the asset this module should be rendered to.
26:    * 
27:    * @return string
28:    */
29:   public function AssetTarget() {
30:     return 'Content';
31:   }
32: 
33:   /**
34:    * Renders an action list.
35:    * 
36:    * @return string
37:    */
38:   public function ToString() {
39:     return parent::ToString();
40:   }
41: 
42: }
43: 
Yaga API documentation generated by ApiGen 2.8.0