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 ReactController

This handles all the AJAX requests to actually react to user generated content.

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

All requests to this controller must be made via JS.

All requests to this controller must be made via JS.

Throws

PermissionException
public
# Index( string $Type, integer $ID, integer $ActionID )

This determines if the current user can react on this item with this action

This determines if the current user can react on this item with this action

Parameters

$Type
string
$Type valid options are 'discussion', 'comment', and 'activity'
$ID
integer
$ID
$ActionID
integer
$ActionID

Throws

Gdn_UserException
Properties summary
public array $Uses array('ActionModel', 'ReactionModel')
#

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