Documentation

PollOption
in package

Class PollOption

Represents an answer option in a poll if supported.

Table of Contents

Properties

$id  : int
$id  : int
$optionValue  : string
$optionValue  : string
$pollId  : int
$pollId  : int

Methods

__construct()  : mixed

Properties

$id

public int $id

The unique identifier for the poll option.

$optionValue

public string $optionValue

The value or text of the poll option.

$pollId

public int $pollId

The identifier of the poll to which this option belongs.

Methods

__construct()

public __construct(int $id, int $pollId, string $optionValue) : mixed
Parameters
$id : int
$pollId : int
$optionValue : string

        
On this page

Search results