Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- action - Variable in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Action number.
B
- BLOCK_MATCHER_REGEXP - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Block matcher regexp.
- blockManager - Variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Block manager.
C
- COMMENT - Enum constant in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Change to XML comments.
D
- de.powerstat.phplib.templateengine - module de.powerstat.phplib.templateengine
-
Module for PowerStat's PHPLib like TemplateEngine.
- de.powerstat.phplib.templateengine - package de.powerstat.phplib.templateengine
-
PHPLib like template engine.
E
- equals(Object) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Is equal with another object.
F
- fileManager - Variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
File manager.
- finish(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Handle undefined template variables after parsing has happened.
G
- get(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Shortcut for finish(getVar(varname)).
- getAction() - Method in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Get action number.
- getUndefined(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get list with all undefined template variables.
- getVar(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get template variable value.
- getVars() - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get list of all template variables.
H
- HandleUndefined - Enum Class in de.powerstat.phplib.templateengine
-
Enum for handling of undefined variables.
- HandleUndefined(int) - Constructor for enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Ordinal constructor.
- hashCode() - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Calculate hash code.
K
- KEEP - Enum constant in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Keep variables.
M
- MAX_TEMPLATE_SIZE - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Maximum template size.
- MAX_VARNAME_SIZE - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Maximum varname size.
N
- newInstance(TemplateEngine) - Static method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Copy factory.
- newInstance(File) - Static method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get new instance from a UTF-8 encoded text file.
- newInstance(InputStream) - Static method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get new instance from a stream.
- newInstance(String) - Static method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Get new instance from a string.
P
- parse(String, String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Parse a variable and replace all variables within it by their content.
- parse(String, String, boolean) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Parse a variable and replace all variables within it by their content.
R
- REMOVE - Enum constant in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Remove variables.
S
- setBlock(String, String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Set template block (cut it from parent template and replace it with a variable).
- setBlock(String, String, String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Set template block (cut it from parent template and replace it with a variable).
- setFile(String, File) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Set template file for variable.
- setVar(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Set template variable as empty.
- setVar(String, String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Set template variables value.
- subst(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Substitute variable with its content.
T
- TEMPLATE - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Template name constant.
- TEMPLATE_IS_EMPTY - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Template is empty message.
- TemplateEngine - Class in de.powerstat.phplib.templateengine
-
PHPLib compatible template engine.
- TemplateEngine() - Constructor for class de.powerstat.phplib.templateengine.TemplateEngine
-
Default constructor - unknown variables will be handled as "remove", root is current directory.
- TemplateEngine(HandleUndefined) - Constructor for class de.powerstat.phplib.templateengine.TemplateEngine
-
Constructor.
- TemplateEngine(TemplateEngine) - Constructor for class de.powerstat.phplib.templateengine.TemplateEngine
-
Copy constructor.
- toString() - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Returns the string representation of this TemplatEngine.
U
- unknowns - Variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Handling of undefined template variables.
- unsetVar(String) - Method in class de.powerstat.phplib.templateengine.TemplateEngine
-
Unset template variable.
V
- valueOf(String) - Static method in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class de.powerstat.phplib.templateengine.HandleUndefined
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variableManager - Variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Variable manager.
- VARNAME - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Varname name constant.
- VARNAME_DOES_NOT_MATCH_NAME_PATTERN - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Varname does not match name pattern error message constant.
- VARNAME_IS_EMPTY - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Varname is empty error message constant.
- VARNAME_IS_TO_LONG - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Varname is to long error message constant.
- VARNAME_REGEXP - Static variable in class de.powerstat.phplib.templateengine.TemplateEngine
-
Varname regexp pattern.
All Classes and Interfaces|All Packages|Constant Field Values