PHP Класс Contao\Hybrid

Наследование: extends Frontend
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
compile ( ) Compile the current element

Описание методов

__construct() публичный Метод

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

__get() публичный Метод

Return an object property
public __get ( string $strKey ) : mixed
$strKey string
Результат mixed

__isset() публичный Метод

Check whether a property is set
public __isset ( string $strKey ) : boolean
$strKey string
Результат boolean

__set() публичный Метод

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

compile() абстрактный защищенный Метод

Compile the current element
abstract protected compile ( )

generate() публичный Метод

Parse the template
public generate ( ) : string
Результат string

getModel() публичный Метод

Return the model
public getModel ( ) : Model
Результат Model

getParent() публичный Метод

Return the parent object
public getParent ( ) : object
Результат object

Описание свойств

$arrData защищенное свойство

Current record
protected array $arrData
Результат array

$arrStyle защищенное свойство

Style array
protected array $arrStyle
Результат array

$objModel защищенное свойство

Model
protected Model,contao $objModel
Результат Model

$objParent защищенное свойство

Parent element
protected Model,contao|object $objParent
Результат Model | object

$strColumn защищенное свойство

Column
protected string $strColumn
Результат string

$strKey защищенное свойство

Key
protected string $strKey
Результат string

$strTable защищенное свойство

Table
protected string $strTable
Результат string

$strTemplate защищенное свойство

Template
protected string $strTemplate
Результат string