Template
- Full name:
\Qubus\View\Template
- This class is an Abstract class
Constants
Constant | Visibility | Type | Value |
---|---|---|---|
SCAFFOLD_NAME | public | '' |
Properties
loader
helpers
parent
blocks
macros
imports
stack
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$loader | \Qubus\View\Loader | |
$helpers | array |
getPath
Parameters:
Parameter | Type | Description |
---|---|---|
$template | mixed |
loadExtends
Parameters:
Parameter | Type | Description |
---|---|---|
$template | mixed |
loadInclude
Parameters:
Parameter | Type | Description |
---|---|---|
$template | mixed |
loadImport
Parameters:
Parameter | Type | Description |
---|---|---|
$template | mixed |
displayBlock
public displayBlock(mixed $name, mixed $context, mixed $blocks, mixed $macros, mixed $imports): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed | |
$context | mixed | |
$blocks | mixed | |
$macros | mixed | |
$imports | mixed |
displayParent
public displayParent(mixed $name, mixed $context, mixed $blocks, mixed $macros, mixed $imports): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed | |
$context | mixed | |
$blocks | mixed | |
$macros | mixed | |
$imports | mixed |
expandMacro
public expandMacro(mixed $module, mixed $name, mixed $params, mixed $context, mixed $macros, mixed $imports, mixed $block): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$module | mixed | |
$name | mixed | |
$params | mixed | |
$context | mixed | |
$macros | mixed | |
$imports | mixed | |
$block | mixed |
pushContext
Parameters:
Parameter | Type | Description |
---|---|---|
$context | mixed | |
$name | mixed |
popContext
Parameters:
Parameter | Type | Description |
---|---|---|
$context | mixed | |
$name | mixed |
getLineTrace
Parameters:
Parameter | Type | Description |
---|---|---|
$e | ?\Qubus\Exception\Exception |
helper
Parameters:
Parameter | Type | Description |
---|---|---|
$name | mixed | |
$args | mixed |
display
public display(mixed $context = [], mixed $blocks = [], mixed $macros = [], mixed $imports = []): mixed
- This method is abstract.
Parameters:
Parameter | Type | Description |
---|---|---|
$context | mixed | |
$blocks | mixed | |
$macros | mixed | |
$imports | mixed |
render
public render(mixed $context = [], mixed $blocks = [], mixed $macros = [], mixed $imports = []): bool|string
Parameters:
Parameter | Type | Description |
---|---|---|
$context | mixed | |
$blocks | mixed | |
$macros | mixed | |
$imports | mixed |
iterate
Parameters:
Parameter | Type | Description |
---|---|---|
$context | mixed | |
$seq | mixed |
getAttr
Parameters:
Parameter | Type | Description |
---|---|---|
$obj | mixed | |
$attr | mixed | |
$args | mixed |
setAttr
Parameters:
Parameter | Type | Description |
---|---|---|
$obj | mixed | |
$attrs | mixed | |
$value | mixed |
Automatically generated on 2025-10-13