Packages

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

Classes

  • NFileTemplate
  • NTemplate
  • NTemplateHelpers

Interfaces

  • IFileTemplate
  • ITemplate

Exceptions

  • NTemplateException
  • Overview
  • Package
  • Class
  • Tree

Class NFileTemplate

Template stored in file.

NObject
Extended by NTemplate implements ITemplate
Extended by NFileTemplate implements IFileTemplate
Package: 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 NFileTemplate
# setFile( string $file )

Sets the path to the template file.

Sets the path to the template file.

Parameters

$file
string
template file path

Returns

NFileTemplate
provides a fluent interface

Implementation of

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

IFileTemplate::getFile
public source
# getSource( )

Returns template source code.

Returns template source code.

Returns

source
public
# render( )

Renders template to output.

Renders template to output.

Implementation of

ITemplate::render
Methods inherited from NTemplate
__call(), __get(), __isset(), __set(), __toString(), __unset(), add(), compile(), getCacheStorage(), getFilters(), getHelpers(), getParameters(), registerFilter(), registerHelper(), registerHelperLoader(), save(), setCacheStorage(), setParameters(), setSource(), setTranslator()
Methods inherited from NObject
__callStatic(), extensionMethod(), getReflection()
Properties inherited from NTemplate
$onPrepareFilters
Nette Framework 2.0beta2 (for PHP 5.2) API API documentation generated by ApiGen 2.3.0