PHP Class Contao\ContentMedia

Inheritance: extends ContentElement
显示文件 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_oe property

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

$strTemplate protected_oe property

Template
protected string $strTemplate
return string