ForumTopic
in package
Class ForumPost
Table of Contents
Properties
- $authorUrl : string
- $authorUsername : string
- $comments : int
- $date : DateTimeImmutable
- $lastComment : ForumPost
- $malId : int
- $title : string
- $url : string
Methods
- fromParser() : ForumTopic
- getAuthorUrl() : string
- getAuthorUsername() : string
- getComments() : int
- getDate() : DateTimeImmutable
- getLastComment() : ForumPost
- getMalId() : int
- getTitle() : string
- getUrl() : string
Properties
$authorUrl
private
string
$authorUrl
$authorUsername
private
string
$authorUsername
$comments
private
int
$comments
= 0
$date
private
DateTimeImmutable
$date
$lastComment
private
ForumPost
$lastComment
$malId
private
int
$malId
$title
private
string
$title
$url
private
string
$url
Methods
fromParser()
public
static fromParser(ForumTopicParser $parser) : ForumTopic
Parameters
- $parser : ForumTopicParser
Tags
Return values
ForumTopicgetAuthorUrl()
public
getAuthorUrl() : string
Return values
stringgetAuthorUsername()
public
getAuthorUsername() : string
Return values
stringgetComments()
public
getComments() : int
Return values
intgetDate()
public
getDate() : DateTimeImmutable
Return values
DateTimeImmutablegetLastComment()
public
getLastComment() : ForumPost
Return values
ForumPostgetMalId()
public
getMalId() : int
Return values
intgetTitle()
public
getTitle() : string
Return values
stringgetUrl()
public
getUrl() : string