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

Class BadgesController

This is all the frontend pages dealing with badges

Gdn_Controller
Extended by BadgesController
Package: Yaga
Since: 1.0
Located at controllers/class.badgescontroller.php
Methods summary
public
# Initialize( )

This sets the badges controller up to look like a front end page. It also adds some leader board modules.

This sets the badges controller up to look like a front end page. It also adds some leader board modules.

public
# Index( )

Render a blank page if no methods were specified in dispatch

Render a blank page if no methods were specified in dispatch

public
# All( )

This renders out the full list of badges

This renders out the full list of badges

public
# Detail( integer $BadgeID, string $Slug = NULL )

Show some facets about a specific badge

Show some facets about a specific badge

Parameters

$BadgeID
integer
$BadgeID
$Slug
string
$Slug

Throws

NotFoundException
Properties summary
public array $Uses array('BadgeModel', 'BadgeAwardModel')
#

These objects will be created on instantiation and available via $this->ObjectName

These objects will be created on instantiation and available via $this->ObjectName

Yaga API documentation generated by ApiGen 2.8.0