PHP Class Contao\ModuleArticlenav

Inheritance: extends Module
Show file Open project: contao/core-bundle

Protected Properties

Property Type Description
$objArticles ArticleModel[] Articles
$strTemplate string Template

Public Methods

Method Description
generate ( ) : string Do not display the module if there are no articles

Protected Methods

Method Description
compile ( ) Generate the module

Method Details

compile() protected method

Generate the module
protected compile ( )

generate() public method

Do not display the module if there are no articles
public generate ( ) : string
return string

Property Details

$objArticles protected property

Articles
protected ArticleModel[],contao $objArticles
return ArticleModel[]

$strTemplate protected property

Template
protected string $strTemplate
return string