Documentation

FrequentlyAskedQuestion
in package

Represents frequently asked questions

Table of Contents

$answer  : string
$id  : int
$question  : string
__construct()  : mixed
getAnswer()  : string
Get answer
getId()  : int
Get FAQ id
getQuestion()  : string
Get question
setAnswer()  : void
Set answer
setQuestion()  : void
Set question

Properties

Methods

__construct()

public __construct(int $id, string $question, string $answer) : mixed
Parameters
$id : int
$question : string
$answer : string
Return values
mixed

setAnswer()

Set answer

public setAnswer(string $answer) : void
Parameters
$answer : string
Return values
void

setQuestion()

Set question

public setQuestion(string $question) : void
Parameters
$question : string
Return values
void

Search results