PHP 클래스 Contao\Hybrid

상속: extends Frontend
파일 보기 프로젝트 열기: contao/core-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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