Documentation

Reaction
in package

Represents a reaction.

Tags
author

Aberdeener

version
2.1.0
license

MIT

Table of Contents

Constants

TYPE_CUSTOM  = 3
TYPE_NEGATIVE  = 0
TYPE_NEUTRAL  = 1
TYPE_POSITIVE  = 2

Properties

$custom_score  : int|null
$enabled  : bool
$html  : string
$id  : int
$name  : string
$order  : int
$raw_html  : string
$type  : int

Methods

__construct()  : mixed
all()  : array<int, Reaction>
find()  : array<int, Reaction>|Reaction

Constants

TYPE_CUSTOM

public mixed TYPE_CUSTOM = 3

TYPE_NEGATIVE

public mixed TYPE_NEGATIVE = 0

TYPE_NEUTRAL

public mixed TYPE_NEUTRAL = 1

TYPE_POSITIVE

public mixed TYPE_POSITIVE = 2

Properties

$custom_score

public int|null $custom_score

Methods

__construct()

public __construct(object $row) : mixed
Parameters
$row : object

        
On this page

Search results