PHP Class Contao\ContentGallery

Front end content element "gallery".
Inheritance: extends ContentElement
Show file Open project: contao/core-bundle

Protected Properties

Property Type Description
$objFiles Contao\Model\Collection | FilesModel Files object
$strTemplate string Template

Public Methods

Method Description
generate ( ) : string Return if there are no files

Protected Methods

Method Description
compile ( ) Generate the content element

Method Details

compile() protected method

Generate the content element
protected compile ( )

generate() public method

Return if there are no files
public generate ( ) : string
return string

Property Details

$objFiles protected property

Files object
protected Collection,Contao\Model|FilesModel,contao $objFiles
return Contao\Model\Collection | FilesModel

$strTemplate protected property

Template
protected string $strTemplate
return string