The Savant Template System for PHP

The simple, elegant, and powerful alternative to Smarty.

  Savant2 (2.4.3)   Documentation   Contributed Classes   Other Information  
  Documentation   Getting Started   API Reference   Template Plugins   Output Filters   Error Handlers   Markup Compilers  

Savant Versions:

Savant2

Savant3


Please help support Savant; you can donate, or click on a sponsor.

Amazon Honor System Click Here to Pay Learn More

API Reference

  • General
  • Variables
    • assign() assigns a variable by copy
    • assignRef() assigns a variable by reference
    • clear() unsets or clears an assigned variable
    • getVars() gets the value of an assigned variable
  • Escaping
  • Templates
  • Path Management
    • addPath() adds a template or resource directory to the current search path
    • getPath() gets the current template or resource search path
    • setPath() resets the template or resource search path
  • Filters
    • loadFilter() loads a filter to be applied to template output
    • unloadFilter() unloads a filter so it is not applied to template output
  • Error handling
    • isError() checks if a variable is a Savant error
    • setError() sets the name of the error resource class
Savant2:ApiRef (pmjones)
Thu Jul 28 17:08:16 2005
[ Links | Source | History | RSS ]

This site powered by YaWiki 0.22 beta.

Copyright © 2003-2010, Paul M. Jones.


No user comments exist for this page.

New comments are disabled.

API Reference
addEscape
addPath
assign
assignRef
clear
Constructor
display
eprint
escape
fetch
getEscape
getPath
getVars
isError
loadFilter
loadPlugin
loadTemplate
plugin
setCompiler
setError
setEscape
setExtract
setPath
setReference
setTemplate
splugin
unloadFilter
unloadPlugin