class Question extends Collection (View source)

Properties

protected $collection_key
protected $authorType
protected $authorDataType
string $createTime
string $name
string $text
protected $topAnswersType
protected $topAnswersDataType
int $totalAnswerCount
string $updateTime
int $upvoteCount

Methods

setAuthor(Author $author)

No description

getAuthor()

No description

setCreateTime($createTime)

No description

string
getCreateTime()

No description

setName($name)

No description

string
getName()

No description

setText($text)

No description

string
getText()

No description

setTopAnswers($topAnswers)

No description

Answer[]
getTopAnswers()

No description

setTotalAnswerCount($totalAnswerCount)

No description

int
getTotalAnswerCount()

No description

setUpdateTime($updateTime)

No description

string
getUpdateTime()

No description

setUpvoteCount($upvoteCount)

No description

int
getUpvoteCount()

No description

Details

setAuthor(Author $author)

No description

Parameters

Author $author

Author getAuthor()

No description

Return Value

Author

setCreateTime($createTime)

No description

Parameters

$createTime

string getCreateTime()

No description

Return Value

string

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setText($text)

No description

Parameters

$text

string getText()

No description

Return Value

string

setTopAnswers($topAnswers)

No description

Parameters

$topAnswers

Answer[] getTopAnswers()

No description

Return Value

Answer[]

setTotalAnswerCount($totalAnswerCount)

No description

Parameters

$totalAnswerCount

int getTotalAnswerCount()

No description

Return Value

int

setUpdateTime($updateTime)

No description

Parameters

$updateTime

string getUpdateTime()

No description

Return Value

string

setUpvoteCount($upvoteCount)

No description

Parameters

$upvoteCount

int getUpvoteCount()

No description

Return Value

int