PHP Class Contao\BackendModule

Parent class for back end modules that are not using the default engine.
Inheritance: extends Backend
显示文件 Open project: contao/core-bundle

Protected Properties

Property Type Description
$arrData array Current record
$objDc object Data container object
$strTemplate string Template

Public Methods

Method Description
__construct ( DataContainer $dc = null ) Initialize the object
__get ( string $strKey ) : mixed Return an object property
__set ( string $strKey, mixed $varValue ) Set an object property
generate ( ) : string Parse the template

Protected Methods

Method Description
compile ( ) Compile the current element

Method Details

__construct() public method

Initialize the object
public __construct ( DataContainer $dc = null )
$dc DataContainer

__get() public method

Return an object property
public __get ( string $strKey ) : mixed
$strKey string
return mixed

__set() public method

Set an object property
public __set ( string $strKey, mixed $varValue )
$strKey string
$varValue mixed

compile() abstract protected method

Compile the current element
abstract protected compile ( )

generate() public method

Parse the template
public generate ( ) : string
return string

Property Details

$arrData protected_oe property

Current record
protected array $arrData
return array

$objDc protected_oe property

Data container object
protected object $objDc
return object

$strTemplate protected_oe property

Template
protected string $strTemplate
return string