NewsList
in package
uses
TraitCache, TraitData, TraitCommentsList, TraitSeo
FinalYes
Table of Contents
Properties
- $commentsList : CommentsList
- $data : Data
- $env : array<string|int, mixed>
- $htmlHeader : HtmlHeader
- $news : News
- $saAtt : array<string|int, mixed>
Methods
- __construct() : mixed
- getCacheInstance() : Cache
- getCommentsListInstance() : CommentsList
- getDataInstance() : Data
- getList() : string
- returns Goabase News
- getSeoInstance() : Seo
- getSQLNews() : array<string|int, mixed>
- openPage() : void
- generateNewIcon() : string
- getNewIcon() : string
- Gibt New-Icon zurueck
- getTplList() : string
- Liste der News
- getYearsLinks() : string
- getYearsWithLinks() : string
- redirectIfNewsEmptyOrExists() : void
Properties
$commentsList
private
CommentsList
$commentsList
$data
private
Data
$data
$env
private
array<string|int, mixed>
$env
$htmlHeader read-only
private
HtmlHeader
$htmlHeader
$news
private
News
$news
$saAtt
private
array<string|int, mixed>
$saAtt
Methods
__construct()
public
__construct(HtmlHeader $htmlHeader) : mixed
Parameters
- $htmlHeader : HtmlHeader
getCacheInstance()
public
getCacheInstance() : Cache
Return values
CachegetCommentsListInstance()
public
getCommentsListInstance() : CommentsList
Return values
CommentsListgetDataInstance()
public
getDataInstance() : Data
Return values
DatagetList()
returns Goabase News
public
getList() : string
Tags
Return values
string —- complete news
getSeoInstance()
public
getSeoInstance() : Seo
Return values
SeogetSQLNews()
public
getSQLNews() : array<string|int, mixed>
Return values
array<string|int, mixed>openPage()
public
openPage() : void
generateNewIcon()
private
generateNewIcon(array<string|int, mixed> $saRow) : string
Parameters
- $saRow : array<string|int, mixed>
Return values
stringgetNewIcon()
Gibt New-Icon zurueck
private
getNewIcon(int $strDateStart, int $strDateStop) : string
Parameters
- $strDateStart : int
-
- YYYYMMDD
- $strDateStop : int
-
- YYYYMMDD
Return values
string —image-tag
getTplList()
Liste der News
private
getTplList([array<string|int, mixed> $saRow = [] ]) : string
Parameters
- $saRow : array<string|int, mixed> = []
Return values
stringgetYearsLinks()
private
getYearsLinks([int $y = 0 ]) : string
Parameters
- $y : int = 0
Return values
stringgetYearsWithLinks()
private
getYearsWithLinks() : string
Return values
stringredirectIfNewsEmptyOrExists()
private
redirectIfNewsEmptyOrExists() : void