View
{@inheritdoc}
- Full name:
\Zemit\Mvc\View
- Parent class:
View
Properties
minify
private bool $minify
Methods
getMinify
True if content minifier is enabled
public getMinify(): bool
setMinify
Set true to enable content minifier
public setMinify(bool $minify): void
Parameters:
Parameter | Type | Description |
---|---|---|
$minify | bool |
render
{@inheritdoc}
public render(string $controllerName, string $actionName, array $params = []): \Phalcon\Mvc\View|bool
Parameters:
Parameter | Type | Description |
---|---|---|
$controllerName | string | |
$actionName | string | |
$params | array |
getRender
{@inheritDoc}
public getRender(string $controllerName, string $actionName, array $params = [], mixed $configCallback = null): string
Parameters:
Parameter | Type | Description |
---|---|---|
$controllerName | string | |
$actionName | string | |
$params | array | |
$configCallback | mixed |
getContent
{@inheritdoc} Can also minify the content
public getContent(?bool $minify = null): string
Parameters:
Parameter | Type | Description |
---|---|---|
$minify | ?bool |