class Answer extends Model (View source)

Properties

protected $authorType
protected $authorDataType
string $createTime
string $name
string $text
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

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

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