Class ReactController
This handles all the AJAX requests to actually react to user generated
content.
-
Gdn_Controller
-
ReactController
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
|