PHP Class Contao\ContentTeaser

Inheritance: extends ContentElement
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$objArticle ArticleModel Article object
$objParent PageModel Parent page object
$strTemplate string Template

Méthodes publiques

Méthode Description
generate ( ) : string Check whether the target page and the article are published

Méthodes protégées

Méthode Description
compile ( ) Generate the content element

Method Details

compile() protected méthode

Generate the content element
protected compile ( )

generate() public méthode

Check whether the target page and the article are published
public generate ( ) : string
Résultat string

Property Details

$objArticle protected_oe property

Article object
protected ArticleModel,contao $objArticle
Résultat ArticleModel

$objParent protected_oe property

Parent page object
protected PageModel,contao $objParent
Résultat PageModel

$strTemplate protected_oe property

Template
protected string $strTemplate
Résultat string