PHP Class Contao\ContentMedia

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 module

Method Details

compile() protected method

Generate the module
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