Documentation

Vote
in package

Class Vote

Represents a vote in a poll.

Table of Contents

Properties

$created  : DateTime
$created  : DateTime
$createdBy  : int
$createdBy  : int
$id  : int
$id  : int
$pollId  : int
$pollId  : int
$pollOptionId  : int
$pollOptionId  : int

Methods

__construct()  : mixed

Properties

$created

public DateTime $created

The date and time when the vote was created.

$created

public DateTime $created

$createdBy

public int $createdBy

The unique identifier for the user who created the vote.

$createdBy

public int $createdBy

$id

public int $id

The unique identifier for the vote.

$pollId

public int $pollId

The unique identifier for the poll.

$pollId

public int $pollId

$pollOptionId

public int $pollOptionId

The unique identifier for the poll option.

$pollOptionId

public int $pollOptionId

Methods

__construct()

public __construct(int $id, int $pollId, int $pollOptionId, string $created, int $createdBy) : mixed
Parameters
$id : int
$pollId : int
$pollOptionId : int
$created : string
$createdBy : int

        
On this page

Search results