Reaction
in package
Represents a reaction.
Tags
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
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
$enabled
public
bool
$enabled
$html
public
string
$html
$id
public
int
$id
$name
public
string
$name
$order
public
int
$order
$raw_html
public
string
$raw_html
$type
public
int
$type
Methods
__construct()
public
__construct(object $row) : mixed
Parameters
- $row : object
all()
public
static all() : array<int, Reaction>
Return values
array<int, Reaction>find()
public
static find(string $value[, string $column = 'id' ]) : array<int, Reaction>|Reaction
Parameters
- $value : string
- $column : string = 'id'