Property | Type | Description | |
---|---|---|---|
$baseUrl | base url | ||
$partialPath | paths to partial | ||
$path | path to template | ||
$template | template name |
Method | Description | |
---|---|---|
__construct ( ) | Create view instance, initial default helper path | |
__sleep ( ) : string[] | List of packed properties | |
__toString ( ) : string | Render like string | |
addPartialPath ( string $path ) : |
Add partial path for use inside partial and partialLoop helpers | |
setPath ( string $path ) : void | ||
setTemplate ( string $file ) : void |
public __construct ( ) |
public addPartialPath ( string $path ) : |
||
$path | string | |
return |