Namespaces

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • none

Classes

  • FileTemplate
  • Helpers
  • Template

Interfaces

  • IFileTemplate
  • ITemplate

Exceptions

  • FilterException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class FileTemplate

Template stored in file.

Nette\Object
Extended by Nette\Templating\Template implements Nette\Templating\ITemplate
Extended by Nette\Templating\FileTemplate implements Nette\Templating\IFileTemplate
Namespace: Nette\Templating
Author: David Grudl
Located at Templating/FileTemplate.php
Methods summary
public
# __construct( string $file = NULL )

Constructor.

Constructor.

Parameters

$file
string
template file path
public Nette\Templating\FileTemplate
# setFile( string $file )

Sets the path to the template file.

Sets the path to the template file.

Parameters

$file
string
template file path

Returns

Nette\Templating\FileTemplate

Implementation of

Nette\Templating\IFileTemplate::setFile()
public string
# getFile( )

Returns the path to the template file.

Returns the path to the template file.

Returns

string
template file path

Implementation of

Nette\Templating\IFileTemplate::getFile()
public string
# getSource( )

Returns template source code.

Returns template source code.

Returns

string

Overrides

Nette\Templating\Template::getSource()
public
# render( )

Renders template to output.

Renders template to output.

Overrides

Nette\Templating\Template::render()

Implementation of

Nette\Templating\ITemplate::render()
Methods inherited from Nette\Templating\Template
__call(), __get(), __isset(), __set(), __toString(), __unset(), add(), compile(), getCacheStorage(), getFilters(), getHelperLoaders(), getHelpers(), getParameters(), registerFilter(), registerHelper(), registerHelperLoader(), save(), setCacheStorage(), setParameters(), setSource(), setTranslator()
Methods inherited from Nette\Object
__callStatic(), extensionMethod(), getReflection()
Properties inherited from Nette\Templating\Template
$onPrepareFilters
Magic properties inherited from Nette\Object
$reflection
Nette 2.1 API documentation generated by ApiGen 2.8.0