Documentation

ResourceArticle
in package

Class ResourceArticle

Table of Contents

Properties

$authorUrl  : string|null
$authorUsername  : string
$content  : string
$date  : DateTimeImmutable
$excerpt  : string
$images  : WrapImageResource
$malId  : int|null
$relatedArticles  : array<string|int, mixed>
$relatedEntries  : array<string|int, MalUrl>
$tags  : array<string|int, mixed>
$title  : string
$url  : string
$views  : int

Methods

fromParser()  : self
getAuthorUrl()  : string
getAuthorUsername()  : string
getContent()  : string
getDate()  : DateTimeImmutable
getExcerpt()  : string
getImages()  : WrapImageResource
getMalId()  : int|null
getRelatedArticles()  : array<string|int, mixed>
getRelatedEntries()  : array<string|int, mixed>
getTags()  : array<string|int, mixed>
getTitle()  : string
getUrl()  : string
getViews()  : int|null

Properties

private array<string|int, mixed> $relatedArticles = []

Methods

getAuthorUsername()

public getAuthorUsername() : string
Return values
string

getDate()

public getDate() : DateTimeImmutable
Return values
DateTimeImmutable

getRelatedArticles()

public getRelatedArticles() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRelatedEntries()

public getRelatedEntries() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTags()

public getTags() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results