HumHub Documentation (unofficial)

Source
in package

FinalYes

Holds information about a non-compiled Twig template.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Properties

$code  : mixed
$name  : mixed
$path  : mixed

Methods

__construct()  : mixed
getCode()  : string
getName()  : string
getPath()  : string

Properties

Methods

__construct()

public __construct(string $code, string $name[, string $path = '' ]) : mixed
Parameters
$code : string

The template source code

$name : string

The template logical name

$path : string = ''

The filesystem path of the template if any

getCode()

public getCode() : string
Return values
string

getName()

public getName() : string
Return values
string

getPath()

public getPath() : string
Return values
string

        
On this page

Search results