PHP Class Contao\ModuleArticle

Provides methodes to handle articles.
Inheritance: extends Module
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$blnNoMarkup boolean No markup
$strTemplate string Template

Méthodes publiques

Méthode Description
generate ( boolean $blnNoMarkup = false ) : string Check whether the article is published
generatePdf ( ) Print an article as PDF and stream it to the browser

Méthodes protégées

Méthode Description
compile ( ) Generate the module

Method Details

compile() protected méthode

Generate the module
protected compile ( )

generate() public méthode

Check whether the article is published
public generate ( boolean $blnNoMarkup = false ) : string
$blnNoMarkup boolean
Résultat string

generatePdf() public méthode

Print an article as PDF and stream it to the browser
public generatePdf ( )

Property Details

$blnNoMarkup protected_oe property

No markup
protected bool $blnNoMarkup
Résultat boolean

$strTemplate protected_oe property

Template
protected string $strTemplate
Résultat string