Gumbo_Template_Engine_Basic
Gumbo_Template_Engine | --Gumbo_Template_Engine_Basic
Basic Template Engine Class
This Engine will perform a simple string replacement with the template variables. The template file will hold references to the template. The references will be contained within left and right delimeters. A template reference will look like: {reference}
The left and right delimeters can be altered from the defaults. It's important that these values are accurate, for the replacement of the references will not work.
Author(s): |
Michael Luster <mluster79@yahoo.com> |
License: | New BSD License |
Copyright: | Copyright (c) 2007, iBayou, Michael Luster |
Link: | http://sourceforge.net/projects/phpgumbo |
Version: | 0.0.1 |
Inherited Methods
- Gumbo_Template_Engine::assign()
- Gumbo_Template_Engine::display()
- Gumbo_Template_Engine::exists()
- Gumbo_Template_Engine::fetch()
- Gumbo_Template_Engine::getDirCache()
- Gumbo_Template_Engine::getDirCompile()
- Gumbo_Template_Engine::getDirConfig()
- Gumbo_Template_Engine::getDirTpl()
- Gumbo_Template_Engine::getFile()
- Gumbo_Template_Engine::getFullPath()
- Gumbo_Template_Engine::getLeftDelimeter()
- Gumbo_Template_Engine::getOutput()
- Gumbo_Template_Engine::getRightDelimeter()
- Gumbo_Template_Engine::getVar()
- Gumbo_Template_Engine::getVars()
- Gumbo_Template_Engine::isFormatted()
- Gumbo_Template_Engine::loadGlobals()
- Gumbo_Template_Engine::parse()
- Gumbo_Template_Engine::reset()
- Gumbo_Template_Engine::setDirCache()
- Gumbo_Template_Engine::setDirCompile()
- Gumbo_Template_Engine::setDirConfig()
- Gumbo_Template_Engine::setDirTpl()
- Gumbo_Template_Engine::setFile()
- Gumbo_Template_Engine::setFormatted()
- Gumbo_Template_Engine::setLeftDelimeter()
- Gumbo_Template_Engine::setOutput()
- Gumbo_Template_Engine::setRightDelimeter()
- Gumbo_Template_Engine::unassign()
- Gumbo_Template_Engine::__get()
- Gumbo_Template_Engine::__isset()
- Gumbo_Template_Engine::__set()
- Gumbo_Template_Engine::__unset()
Class Methods
public Gumbo_Template_Engine_Basic __construct ( [string $file] )
[line 52]
Constructor
Parameter(s):
- (string) $file :: template file name
[ Top ]
public void assign ( string|array $key, [mixed $val] )
[line 98]
Assigns a template variable with a value
Parameter(s):
- (string|array) $key :: template file reference
- (mixed) $val :: (primitive type or Gumbo_Interface_Output)