Template.
Methods | ||
---|---|---|
public
|
__construct(Engine $engine, mixed[] $params, FilterExecutor $filters, stdClass $providers, string $name)
|
# |
public
|
getEngine(): Engine
|
# |
public
|
getName(): string
|
# |
public
|
getParameters(): mixed[]
|
# |
public
|
getBlockNames(int|string $layer = self::LayerTop): string[]
|
# |
public
|
getParentName(): ?string
|
# |
public
|
getReferringTemplate(): ?self
|
# |
public
|
getReferenceType(): ?string
|
# |
public
|
prepare(): mixed[]
|
# |
public
|
main(mixed[] $params): void
|
# |
protected
|
enterBlockLayer(int $staticId, array $vars): void
|
# |
protected
|
copyBlockLayer(): void
|
# |
protected
|
leaveBlockLayer(): void
|
# |
public
|
hasBlock(string $name): bool
|
# |
Constants | |||
---|---|---|---|
public
|
LayerTop = 0
|
# | |
public
|
LayerSnippet = 'snippet'
|
# | |
public
|
LayerLocal = 'local'
|
# | |
public
|
ContentType = ContentType::Html
|
# | |
public
|
Source = null
|
# | |
public
|
Blocks = []
|
# |
Properties | |||
---|---|---|---|
public
|
stdClass
|
$global
|
# |
protected
|
mixed[]
|
$params = []
|
# |
protected
|
FilterExecutor
|
$filters
|
# |
protected
|
mixed[][]
|
$varStack = []
|
# |
protected
|
Block[][]
|
$blocks
|
# |