PHP Class Contao\Hybrid

Inheritance: extends Frontend
Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$arrData array Current record
$arrStyle array Style array
$objModel Model Model
$objParent Model | object Parent element
$strColumn string Column
$strKey string Key
$strTable string Table
$strTemplate string Template

Méthodes publiques

Méthode Description
__construct ( ContentModel | ModuleModel | FormModel $objElement, string $strColumn = 'main' ) Initialize the object
__get ( string $strKey ) : mixed Return an object property
__isset ( string $strKey ) : boolean Check whether a property is set
__set ( string $strKey, mixed $varValue ) Set an object property
generate ( ) : string Parse the template
getModel ( ) : Model Return the model
getParent ( ) : object Return the parent object

Méthodes protégées

Méthode Description
compile ( ) Compile the current element

Method Details

__construct() public méthode

Initialize the object
public __construct ( ContentModel | ModuleModel | FormModel $objElement, string $strColumn = 'main' )
$objElement ContentModel | ModuleModel | FormModel
$strColumn string

__get() public méthode

Return an object property
public __get ( string $strKey ) : mixed
$strKey string
Résultat mixed

__isset() public méthode

Check whether a property is set
public __isset ( string $strKey ) : boolean
$strKey string
Résultat boolean

__set() public méthode

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

compile() abstract protected méthode

Compile the current element
abstract protected compile ( )

generate() public méthode

Parse the template
public generate ( ) : string
Résultat string

getModel() public méthode

Return the model
public getModel ( ) : Model
Résultat Model

getParent() public méthode

Return the parent object
public getParent ( ) : object
Résultat object

Property Details

$arrData protected_oe property

Current record
protected array $arrData
Résultat array

$arrStyle protected_oe property

Style array
protected array $arrStyle
Résultat array

$objModel protected_oe property

Model
protected Model,contao $objModel
Résultat Model

$objParent protected_oe property

Parent element
protected Model,contao|object $objParent
Résultat Model | object

$strColumn protected_oe property

Column
protected string $strColumn
Résultat string

$strKey protected_oe property

Key
protected string $strKey
Résultat string

$strTable protected_oe property

Table
protected string $strTable
Résultat string

$strTemplate protected_oe property

Template
protected string $strTemplate
Résultat string