v1.0.0
English

View.php

system/View/View.php
1 class 18 methods

class View

Class View
__construct (ViewConfig $config, ?string $viewPath = null, ?FileLocatorInterface $loader = null, ?bool $debug = null, ?LoggerInterface $logger = null, ) public
render (string $view, ?array $options = null, ?bool $saveData = null) public
string () public
renderString (string $view, ?array $options = null, ?bool $saveData = null) public
string (string $view) public
excerpt (string $string, int $length = 20) public
setData (array $data = [], ?string $context = null) public
setVar (string $name, $value = null, ?string $context = null) public
resetData () public
getData () public
extend (string $layout) public
section (string $name) public
endSection () public
renderSection (string $sectionName, bool $saveData = false) public
string (string $view, ?array $options = null, $saveData = true) public
getPerformanceData () public
logPerformance (float $start, float $end, string $view) protected
prepareTemplateData (bool $saveData) protected
phpDG v1.0.0 View.php 662 files 498 classes 763 fn
Generated